Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alexa2 Version 3.23.1+

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Alexa2 Version 3.23.1+

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

      @apollon77 Vielen Dank für die rasche Antwort und Lösung. Ja, alle von mir beschriebenen Probleme sind hier auch vom Tisch. Dafür ein dickes Danke.

      Ro75.

      1 Reply Last reply Reply Quote 0
      • S
        Sushibomba last edited by

        Hey Freunde... Ich nutze einen Echo Dot im Bad in Kombination mit einem Bewegungsmelder.
        Gebaut habe ich ein Blockly, welches bei Bewegung für eine gewisse Zeit den TuneIn Radaiosender "Defjay Radio Deutschland" abspielt.

        An sich funktioniert das Skript auch einwandfrei. Allerdings scheint es mir so als ob der Echo-Dot nach Lust und Laune mit dem abspielen der Musik auf sich warten lässt. Manchmal läuft die Musik direkt kurz nachdem der Bewegungsmelder getriggert hat und mal dauert es 30-40 Sekunden bis Musik abgespielt wird.

        Sorry für die doofe Frage aber vielleicht hat jemand für mich eine Antwort oder schon ein ähnliches Problem festgestellt.

        DJMarc75 1 Reply Last reply Reply Quote 0
        • DJMarc75
          DJMarc75 @Sushibomba last edited by

          @sushibomba
          Häng doch einfach einen DebugBlock direkt hinter den TuneInBlock. Dann kannst Du sehen ob der Sender direkt geschaltet wird.

          Screenshot 2023-08-07 145741.png
          Alternativ kannst Du auch den DP "currentState" abfragen, jedoch würde ich dann aber noch zusätzlich ein TimeoutBlock verwenden da dieser DP erst auf true geht wenn tatsächlich auch TuneIn läuft... so 5 Sekunden als Beispiel

          Und zeig mal Dein aktuelles Blockly bitte.

          S 1 Reply Last reply Reply Quote 0
          • S
            Sushibomba @DJMarc75 last edited by

            @djmarc75

            Ja habe schon angefangen den Fehler zu finden mit Telegram Bausteinen.
            Bin aber bisher nicht schlauer geworden.

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="sBgq}6,1_9cu9MeIH+I0">Musik wird abgespielt</variable>
              </variables>
              <block type="comment" id="rqOx29~ynC7C)12RDf]}" x="-1088" y="388">
                <field name="COMMENT">BWM Badezimmer</field>
                <next>
                  <block type="variables_set" id="Vqz*jo9Rio~zBpm682tz">
                    <field name="VAR" id="sBgq}6,1_9cu9MeIH+I0">Musik wird abgespielt</field>
                    <value name="VALUE">
                      <block type="math_number" id="0{idy16_FX8Gept0C855">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="on_ext" id="/Yk:jVsvr56%3y3bwUuB">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="UZ,{ey#XwF;`BMXgbB/P">
                            <field name="oid">alias.0.Räume.Badezimmer.Sensoren.Bewegungsmelder.BWM4.occupancy</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="debug" id="]T.HdPwC93)s)T%[W3-n">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="3qEw:^JXfhLaRLQ+BLYt">
                                <field name="TEXT">Jemand ist im Badezimmer</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="telegram" id="tO$aG`O[^RIrul3,{6{V">
                                <field name="INSTANCE"></field>
                                <field name="LOG"></field>
                                <field name="SILENT">FALSE</field>
                                <field name="PARSEMODE">default</field>
                                <field name="ESCAPING">FALSE</field>
                                <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="C#N;BS8R~{~4!b1bvj0r">
                                    <field name="TEXT">Bewegung Bad erkannt</field>
                                  </shadow>
                                  <block type="text_join" id="c)Ju8_=CQPBnSvscv{;A">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="Oi*rly}2nrQq=S!-^4j^">
                                        <field name="TEXT">Bewegung Bad erkannt</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="convert_from_date" id="DqE%(#Nk}*[$4wG}.2]b">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                        <field name="OPTION">hh:mm</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="}a}xT15lFQyxzTOfc1m3">
                                            <field name="ATTR">ts</field>
                                            <field name="OID">alias.0.Räume.Badezimmer.Sensoren.Bewegungsmelder.BWM4.occupancy</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="convert_from_date" id="~m]l5lv|:wO#otU$)R75">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                        <field name="OPTION">hh:mm:ss</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="(TaS}4v9Rl#J5qlY2.*7">
                                            <field name="ATTR">ts</field>
                                            <field name="OID">alias.0.Räume.Badezimmer.Sensoren.Bewegungsmelder.BWM4.occupancy</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="USERNAME">
                                  <block type="text" id="y!xW9Tt,ZNAXr8iXyFHx">
                                    <field name="TEXT">Sushibomba</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="ut*G272W_=3Zn.NUJ;Yr">
                                    <value name="IF0">
                                      <block type="logic_operation" id="e=]{)Wk8LyFob9ald{F=" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="m=#kEG_+zV,z]Yl?@8_o">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="j?Z$[!y@*iQlv2be31@{">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Tageszeit</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="d;{20JtT(5yu*WP=5gHq">
                                                <field name="TEXT">Tag</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="GoTumq/Ir+0hjn+G;VAl">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="1q`+4u5M{#eptG^po$0a">
                                                <field name="VAR" id="sBgq}6,1_9cu9MeIH+I0">Musik wird abgespielt</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="NY4:)nUd1{kO9j!r/jg-">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="debug" id="+MW^N#+4;-pkdWOA!z;I">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="e/Zly6KPc!h3evs~@Yhf">
                                            <field name="TEXT">Defjay Radio starten</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="telegram" id="1T}7d9||Y[KOun!_0mwV">
                                            <field name="INSTANCE"></field>
                                            <field name="LOG"></field>
                                            <field name="SILENT">FALSE</field>
                                            <field name="PARSEMODE">default</field>
                                            <field name="ESCAPING">FALSE</field>
                                            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                            <value name="MESSAGE">
                                              <shadow type="text">
                                                <field name="TEXT">Bewegung Bad erkannt</field>
                                              </shadow>
                                              <block type="text_join" id="CXyh:}4~|_AACHw#)G9)">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="8T[:*PvqSf{aAw`(4({J">
                                                    <field name="TEXT">Alexa soll TuneIn starten</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="convert_from_date" id="Z-D~H-E/f9`K1V1IXAu)">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                    <field name="OPTION">hh:mm</field>
                                                    <value name="VALUE">
                                                      <block type="get_value" id="w4=(,^(S^r}(r36$zJ%#">
                                                        <field name="ATTR">ts</field>
                                                        <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Music-Provider.TuneIn</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="USERNAME">
                                              <block type="text" id="_@j`I}rU0-8uDMuv;^(n">
                                                <field name="TEXT">Sushibomba</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="comment" id="U#8I}4B:Wa+l-@hV|o.i">
                                                <field name="COMMENT">Alexa Dot schwarz steuern</field>
                                                <next>
                                                  <block type="control" id="pvZnPe;2-G$QX|$5_*/;">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Music-Provider.TuneIn</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="O2+Dsi,ddy(4QvvuvK*U">
                                                        <field name="TEXT">Defjay Radio Deutschland</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="on_ext" id="t,5J*s;Wv$T@F!d}*1;v">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                        <field name="CONDITION">ne</field>
                                                        <field name="ACK_CONDITION"></field>
                                                        <value name="OID0">
                                                          <shadow type="field_oid" id="(54@eM8f-32Kx^nXpY7{">
                                                            <field name="oid">alexa2.0.Echo-Devices.G090VC09910207S1.Player.currentArtist</field>
                                                          </shadow>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="telegram" id="i;KgB!HJ]0]!2_7*NTFQ">
                                                            <field name="INSTANCE"></field>
                                                            <field name="LOG"></field>
                                                            <field name="SILENT">FALSE</field>
                                                            <field name="PARSEMODE">default</field>
                                                            <field name="ESCAPING">FALSE</field>
                                                            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                            <value name="MESSAGE">
                                                              <shadow type="text">
                                                                <field name="TEXT">Bewegung Bad erkannt</field>
                                                              </shadow>
                                                              <block type="text_join" id="wiWW-a-zj=i]q/n;L0;]">
                                                                <mutation items="2"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id="?|d}:Yc=alyFO=Y*`o;f">
                                                                    <field name="TEXT">TuneIn läuft</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="convert_from_date" id="+td%=?K=5ch.$@azHoc,">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                    <field name="OPTION">hh:mm</field>
                                                                    <value name="VALUE">
                                                                      <block type="get_value" id=",WXEj,otFEAa0ji6Gv,J">
                                                                        <field name="ATTR">ts</field>
                                                                        <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Player.currentArtist</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="USERNAME">
                                                              <block type="text" id="rv7j%.;ywuSnb@H^q=ab">
                                                                <field name="TEXT">Sushibomba</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="math_change" id="t-_2o1)V7(f=;udjKb+/">
                                                            <field name="VAR" id="sBgq}6,1_9cu9MeIH+I0">Musik wird abgespielt</field>
                                                            <value name="DELTA">
                                                              <shadow type="math_number" id="{np_=_Kl7VYA$Wod0eV3">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                            </value>
                                                            <next>
                                                              <block type="comment" id="Ir|eok?qPRe)qYxTZ(cP">
                                                                <field name="COMMENT">Alexa Volume 5</field>
                                                                <next>
                                                                  <block type="controls_if" id="Z04LA5PQG*.GcKcWKoFU">
                                                                    <value name="IF0">
                                                                      <block type="time_compare_ex" id="TH3cgE`7?AaHnramOj~k">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                        <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                        <field name="OPTION">between</field>
                                                                        <value name="START_TIME">
                                                                          <shadow type="text" id="*^QJ5|HFqrAqg_bBq};y">
                                                                            <field name="TEXT">06:00</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <value name="END_TIME">
                                                                          <shadow type="text" id="{=UQ7T4U#x+X7f?TXD}i">
                                                                            <field name="TEXT">08:00</field>
                                                                          </shadow>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="debug" id="k6^MK;h0q$JA^CT,UiG}">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="-3ys]rzY_B_m#%!f^[4.">
                                                                            <field name="TEXT">Alexa Volume 5</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control" id="Uivn-{ic?vz|[eAHX*mZ">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Player.volume</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="Z@4CqaEvM*[G3oD19m[L">
                                                                                <field name="NUM">5</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                    <next>
                                                                      <block type="comment" id="pK*-)$?|52p!sE~zRvGV">
                                                                        <field name="COMMENT">Alexa Volume 10</field>
                                                                        <next>
                                                                          <block type="controls_if" id="n:7W{fx6T]jhYK=4w^5Z">
                                                                            <value name="IF0">
                                                                              <block type="time_compare_ex" id="RAgqW4e%G$bN9NQ^@4EU">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                                <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                                <field name="OPTION">between</field>
                                                                                <value name="START_TIME">
                                                                                  <shadow type="text" id="aK`U2ibW$~5b(qi7:.p1">
                                                                                    <field name="TEXT">08:01</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <value name="END_TIME">
                                                                                  <shadow type="text" id=")RbT}o+oyR9vTTz0wSgO">
                                                                                    <field name="TEXT">21:00</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="debug" id="2o$*CSVr|:zJOIid.Lrx">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="|q5!!JO~70gXDKI#K6@@">
                                                                                    <field name="TEXT">Alexa Volume 10</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="control" id="T}pyrRcS?s!g#N+8Ro/%">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Player.volume</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="A;#R|eGf,C~-26~xjS[;">
                                                                                        <field name="NUM">10</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="comment" id="c`D5#;N31.0|Wiu[hf8m">
                                                                                <field name="COMMENT">Alexa Volume 5</field>
                                                                                <next>
                                                                                  <block type="controls_if" id="R(80Okmb_}YetioHK:V~">
                                                                                    <value name="IF0">
                                                                                      <block type="time_compare_ex" id="KtVUoW/7U@6,k5W:6@@g">
                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                                        <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                                        <field name="OPTION">between</field>
                                                                                        <value name="START_TIME">
                                                                                          <shadow type="text" id="#32jCC+J{Ej57_F,2OMN">
                                                                                            <field name="TEXT">21:01</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                        <value name="END_TIME">
                                                                                          <shadow type="text" id="^=Jp}_?M}qeLBFpH-Yh@">
                                                                                            <field name="TEXT">23:59</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <statement name="DO0">
                                                                                      <block type="debug" id="_47qh3L^0zSG$N)!KfS7">
                                                                                        <field name="Severity">log</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="ZZFFQnmcF!d;B,T63EZa">
                                                                                            <field name="TEXT">Alexa Volume 5</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="control" id="5dT(iytFx%e--Ta}OpC~">
                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                            <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Player.volume</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_number" id=".5(6Y;1[P,::iQ[(Y+m%">
                                                                                                <field name="NUM">5</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="on_ext" id="_{o?0p9U]=+yuDTlZs~T">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="|nuyER1R,79^@AI=n_7L">
                                <field name="oid">alias.0.Räume.Badezimmer.Sensoren.Bewegungsmelder.BWM4.no_motion</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="}U)iezdPQEGD4u:mFcRp">
                                <value name="IF0">
                                  <block type="logic_operation" id="bNaaWnRRoyKL6#BgX]g=" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="9.(TIl#:pFd;t,1up((u">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="!V!jQ}{;xFXTwJl$CVvJ">
                                            <field name="VAR" id="sBgq}6,1_9cu9MeIH+I0">Musik wird abgespielt</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="LSRix6iEbN-O/^jIP$Ds">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="pY5#ZxZY5y{%9s,1GPxY" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="v45/~PNIP24YCdy#j^}o">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="#r.##+@B`?*}j0K,XG]f">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.VIS.Eigene_Datenpunkte.Tageszeit</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="EJ+B@}:1?m5H{!iBdt^P">
                                                <field name="TEXT">Tag</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="#-K0Hzj+kl4#b)KpjiX{">
                                            <field name="OP">GTE</field>
                                            <value name="A">
                                              <block type="on_source" id="ZJ[nj%yX=^D=eEI*K}/=">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="xM*j^#nkW{+V5bYw~p{|">
                                                <field name="NUM">180</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="debug" id="|w(0sYmY?Eb8u?O+j|[)">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="P%;#p08=B5Yh~I5.)Ez+">
                                        <field name="TEXT">Niemand mehr im Badezimmer</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="comment" id="KML;%o`jnx`S!(ra|`%m">
                                        <field name="COMMENT">Alexa Dot schwarz steuern</field>
                                        <next>
                                          <block type="control" id="Dx3?wM-]$aG$@}hW=1+]">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090VC09910207S1.Commands.textCommand</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">1000</field>
                                            <field name="UNIT">ms</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text" id="4N5H)`DiqQ;nmHqRJQsC">
                                                <field name="TEXT">Abbruch</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="ag4{ctBZG~]ESrf.jt|(">
                                                <field name="VAR" id="sBgq}6,1_9cu9MeIH+I0">Musik wird abgespielt</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="z~xc_r4hY/!wR#W*)FJM">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </xml>
            
            DJMarc75 1 Reply Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @Sushibomba last edited by

              @sushibomba zeig auch mal bitte einen Screenshot 🙂

              S 1 Reply Last reply Reply Quote 0
              • S
                Sushibomba @DJMarc75 last edited by

                @djmarc75
                Sorry mehr passt nicht auf den Screenshot 😕

                bwm4.png

                DJMarc75 1 Reply Last reply Reply Quote 0
                • Siragus
                  Siragus @apollon77 last edited by

                  @apollon77
                  Super. Klappt einwandfrei.
                  Vielen Dank! 👍

                  1 Reply Last reply Reply Quote 0
                  • DJMarc75
                    DJMarc75 @Sushibomba last edited by

                    @sushibomba sagte in Alexa2 Version 3.23.1+:

                    Sorry mehr passt nicht auf den Screenshot

                    Reicht schon....

                    nutze um TuneinSender abzuspielen folgenden DP (nicht den "phrase to play with tunein")

                    alexa2.0.Echo-Devices.*.Player.TuneIn-Station
                    

                    und im Falle von Deinem Sender dann folgendes dort eintragen:

                    s54430
                    

                    😉

                    Die SenderIDs kann man über die Homepage von TuneIn quasi "herausfinden" und beginnt immer mit einem "S"

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      Sushibomba @DJMarc75 last edited by

                      @djmarc75 sagte in Alexa2 Version 3.23.1+:

                      s54430

                      Vielen Dank. Meinst du das löst das Problem?

                      DJMarc75 2 Replies Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @Sushibomba last edited by

                        @sushibomba sagte in Alexa2 Version 3.23.1+:

                        Meinst du das löst das Problem?

                        probieren geht über studieren 😉

                        Ich nutze diesen DP schon sehr lange erfolgreich.

                        Aber ich glaub ich importiere mal Dein Blockly ... vll finde ich noch was 😳

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Sushibomba @DJMarc75 last edited by

                          @djmarc75

                          Keine schlechte Idee. So der Blockly Held bin ich ja leider noch nicht 😉

                          1 Reply Last reply Reply Quote 0
                          • DJMarc75
                            DJMarc75 @Sushibomba last edited by

                            @sushibomba

                            Sodele, schonmal was gefunden:

                            Einen Trigger in einem Trigger geht nicht:

                            Screenshot 2023-08-07 172620.png

                            Ich bau da mal Dein Blockly bissle um 😉

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Sushibomba @DJMarc75 last edited by

                              @djmarc75

                              Ja der Baustein ist auch nur da um herauszufinden, warum die Verzögerung ist manchmal.

                              Der ist normalerweise gar nicht da.

                              DJMarc75 1 Reply Last reply Reply Quote 0
                              • DJMarc75
                                DJMarc75 @Sushibomba last edited by

                                @sushibomba Ob Du mal in klaren Sätzen Dein Vorhaben Deines Blocklys beschriben kannst ?
                                Dann kann ich das schnell umbauen 😉

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Sushibomba @DJMarc75 last edited by

                                  @djmarc75

                                  Ok verstehe die Frage zwar nicht ganz aber mein Skript läuft ja.
                                  Es gibt halt nur nicht reproduzierbar längere und kürzere Intervalle bis mein Echo Dot den Radio-Sender Defjay spielt.

                                  Also:

                                  1. Jemand geht ins Bad - TuneIn also Defjay an wenn Bewegung erkannt
                                  2. Längere Zeit keine Bewegung mehr dann TuneIn Stop

                                  Achja und je nach Tageszeit halt andere Lautstärken und halt spät abends und in der Nacht gar nicht.

                                  DJMarc75 2 Replies Last reply Reply Quote 0
                                  • DJMarc75
                                    DJMarc75 @Sushibomba last edited by DJMarc75

                                    @sushibomba Vorschlag:

                                    Screenshot 2023-08-07 205508.png

                                    Da sind natürlich keine Debugs und auch keine Telegrams drin 😉

                                    edit: wir sind grad echt OffTopic 😁

                                    1 Reply Last reply Reply Quote 1
                                    • DJMarc75
                                      DJMarc75 @Sushibomba last edited by

                                      @sushibomba

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                       <variables>
                                         <variable id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</variable>
                                         <variable id="5@{OBB!pgabI9xXk2O~n">volume</variable>
                                       </variables>
                                       <block type="variables_set" id="0;:0an@a~eRFJD%hr4{F" x="-1063" y="-362">
                                         <field name="VAR" id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="p3]$pTV8:f*m^x;Z`epp">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="comment" id="`5e(f:ij|C6*J7T!K5Qx">
                                             <field name="COMMENT">Occupancy</field>
                                             <next>
                                               <block type="on_ext" id="zH#-a*P*Yt-bpm=yh+@_">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                 <field name="CONDITION">ne</field>
                                                 <field name="ACK_CONDITION"></field>
                                                 <value name="OID0">
                                                   <shadow type="field_oid" id="Ab?XV5Mhj$;)QHjK41({">
                                                     <field name="oid">default</field>
                                                   </shadow>
                                                 </value>
                                                 <statement name="STATEMENT">
                                                   <block type="controls_if" id=":BQEb0vK5@7e1e)JBEN.">
                                                     <mutation elseif="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="logic_operation" id="#/hG+M`;}F7-`(Bq@9X." inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="logic_operation" id="tK;w2ROHQ@TeacmLPPWE" inline="false">
                                                             <field name="OP">OR</field>
                                                             <value name="A">
                                                               <block type="time_compare_ex" id="mMB`8=m4$FAAY]2_DB~F">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                 <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                 <field name="OPTION">between</field>
                                                                 <value name="START_TIME">
                                                                   <shadow type="text" id="Muh,^j/YK}wa2|0T.%`}">
                                                                     <field name="TEXT">06:00</field>
                                                                   </shadow>
                                                                 </value>
                                                                 <value name="END_TIME">
                                                                   <shadow type="text" id="LD,)).dfu3ruMzFJ])-#">
                                                                     <field name="TEXT">08:00</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="time_compare_ex" id="3@]-:2Fc!|y;(FZG_(%x">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                 <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                 <field name="OPTION">between</field>
                                                                 <value name="START_TIME">
                                                                   <shadow type="text" id="P?i$3!$(]qN/4Jo=JiAL">
                                                                     <field name="TEXT">21:01</field>
                                                                   </shadow>
                                                                 </value>
                                                                 <value name="END_TIME">
                                                                   <shadow type="text" id="W:xT/a=a6P61!K.(V=qs">
                                                                     <field name="TEXT">23:59</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_negate" id="d2EuU2lwhSF6*dCsGft~">
                                                             <value name="BOOL">
                                                               <block type="variables_get" id=";Bj:)jO|K,d74WP{H?pZ">
                                                                 <field name="VAR" id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="variables_set" id="(Zq6^`Se:.xJ^JI_U+#a">
                                                         <field name="VAR" id="5@{OBB!pgabI9xXk2O~n">volume</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="9@wiCfjO`yr?jIC]eWHn">
                                                             <field name="NUM">5</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="procedures_callnoreturn" id="YhJ*2E?YF$jUKbAm)g0Y">
                                                             <mutation name="DefJay"></mutation>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                     <value name="IF1">
                                                       <block type="logic_operation" id="9aNc[0i*s0xdz}A^8iqY" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="time_compare_ex" id="Rc;r9*CJiDA?8zt/bphU">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                             <field name="USE_ACTUAL_TIME">TRUE</field>
                                                             <field name="OPTION">between</field>
                                                             <value name="START_TIME">
                                                               <shadow type="text" id=".~@W0~Zf0Ke@{MYPj/9S">
                                                                 <field name="TEXT">08:01</field>
                                                               </shadow>
                                                             </value>
                                                             <value name="END_TIME">
                                                               <shadow type="text" id="b,duG4R.9q:~(%f[;Ouh">
                                                                 <field name="TEXT">21:00</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_negate" id="/[1u?*m%,Ycl3y{3t#){">
                                                             <value name="BOOL">
                                                               <block type="variables_get" id="YKpA/{)+}~lzx~o~8)x-">
                                                                 <field name="VAR" id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO1">
                                                       <block type="variables_set" id="W#DR0c`S,7}%[r1$M(d-">
                                                         <field name="VAR" id="5@{OBB!pgabI9xXk2O~n">volume</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="c0)Y}1g4/,?]w;.)C!.W">
                                                             <field name="NUM">10</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="procedures_callnoreturn" id="V+xM^*k(oqxyfy;6*bQs">
                                                             <mutation name="DefJay"></mutation>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="6kydn`A2gUSRTfa^vSd[">
                                                     <field name="COMMENT">no_motion</field>
                                                     <next>
                                                       <block type="on_ext" id="{.Kj$;C/:K1H^lyy+J)9">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                         <field name="CONDITION">ne</field>
                                                         <field name="ACK_CONDITION"></field>
                                                         <value name="OID0">
                                                           <shadow type="field_oid" id="U4-8o[lw^~Orol+.L#`:">
                                                             <field name="oid">default</field>
                                                           </shadow>
                                                         </value>
                                                         <statement name="STATEMENT">
                                                           <block type="controls_if" id="d9x~hFxMp!_xFZ:g*=Cw">
                                                             <value name="IF0">
                                                               <block type="logic_operation" id="7.|i#$S!faKc=^WxBB^+" inline="false">
                                                                 <field name="OP">AND</field>
                                                                 <value name="A">
                                                                   <block type="logic_compare" id=":7b8jw.z.]+L`TuvB3J~">
                                                                     <field name="OP">GT</field>
                                                                     <value name="A">
                                                                       <block type="on_source" id="P1i@B=TP7GxOFbW`CMCP">
                                                                         <field name="ATTR">state.val</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="math_number" id="R-Cm%4ZnC0@LLrn3b]#|">
                                                                         <field name="NUM">180</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="variables_get" id="{(h[vL*/c~~m*ay6B$VR">
                                                                     <field name="VAR" id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="c~e/euSo`@i[UMx,?851">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.G090LF1182060W0C.Player.controlPause</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="logic_boolean" id="Zs0$,fjDIn)A5KUKw_fL">
                                                                     <field name="BOOL">TRUE</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="variables_set" id="r!:Y(V2q3$RCKjn$Q}5i">
                                                                     <field name="VAR" id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</field>
                                                                     <value name="VALUE">
                                                                       <block type="logic_boolean" id="B_~_)n_55j{2H]uc+x5.">
                                                                         <field name="BOOL">FALSE</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                       <block type="procedures_defnoreturn" id="ljDBOm=%?(V;N,ASL]Rl" x="-487" y="38">
                                         <field name="NAME">DefJay</field>
                                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                         <statement name="STACK">
                                           <block type="variables_set" id="KxiKB:6=W|P}LIG];G`S">
                                             <field name="VAR" id="ArF@RQP@E4dRrEB6V=Y+">musik läuft</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="=JxpC%[aEPrYa..$bmpb">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="@xBP7V4pMW%4.kQHV|w?">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">alexa2.0.Echo-Devices.G090LF1182060W0C.Player.volume</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="7s-V}P-US!-0^5SoWqLV">
                                                     <field name="VAR" id="5@{OBB!pgabI9xXk2O~n">volume</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="n+$M_3}28k(g|^K!CakT">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090LF1182060W0C.Player.TuneIn-Station</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="!vcCP~qfN1+9N-E5/.|:">
                                                         <field name="TEXT">s54430</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                      </xml>
                                      

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

                                        Version 3.24.0 mit dem Fix wegen den Push-Notification geht gerade raus ... GitHub schon aktuell. Latest im laufe der Nacht

                                        Fabio apollon77 2 Replies Last reply Reply Quote 8
                                        • Fabio
                                          Fabio @apollon77 last edited by

                                          @apollon77 vielen Dank für deine Mühen. 👍👌😉

                                          apollon77 1 Reply Last reply Reply Quote 1
                                          • apollon77
                                            apollon77 @apollon77 last edited by

                                            @apollon77 sagte in Alexa2 Version 3.23.1+:

                                            Version 3.24.0 mit dem Fix wegen den Push-Notification geht gerade raus ... GitHub schon aktuell. Latest im laufe der Nacht

                                            Die 3.24.1 is the way to go 🙂

                                            Fabio Siragus Negalein 3 Replies Last reply Reply Quote 5
                                            • First post
                                              Last post

                                            Support us

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

                                            451
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            39
                                            255
                                            30165
                                            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