NEWS
Probleme mit Alexa Ausgabe mal geht es mal nicht.
-
Hi,
ich habe immer wieder Probleme mit der Alexa Ausgabe, mal geht es und mal nicht.
Habe mittlerweile alles per Debug kontrolliert und alles wird schön gesetzt, nur bei der Ausgabe bleibt sie je nach Laune stumm.Sehr auffällig ist es in meinem klingel Script, dieses wird nach Hilfe hier im Forum (noch mal Danke) zuverlässig angetriggert.
Komme da nicht wirklich weiter, eventuell ein Timing Problem?<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="CyV%{3|97IkO578t@Az^">cnt</variable> <variable type="timeout" id="timeout">timeout</variable> <variable type="timeout" id="timeout2">timeout2</variable> <variable type="timeout" id="timeout3">timeout3</variable> </variables> <block type="comment" id="9|1+-.P0XO58Q}(N|:)l" x="38" y="-87"> <field name="COMMENT">Hier hat es etwas gedauert bis die Asage im Büro kommt.</field> <next> <block type="comment" id="xCCEkvI//^H*DFanXQX["> <field name="COMMENT">Allgemein - Es klingelt </field> <next> <block type="comment" id="USyd8{.fWWiL+6Y}i7b1"> <field name="COMMENT">Doku</field> <comment pinned="false" h="110" w="766">Steuert einen selbst angelegten Datenpunkt über die Instanz Simple.APi. Kein MQTT ! String IOBROKER_DP = "/set/javascript.0.ESP_Klingel?value="; Links zur Webseite und zu Github original script. https://forum.iobroker.net/topic/21975/fritzbox-tr064-esp-klingel-datenpunkt/9 https://github.com/SBorg2014/ESP-Klingel https://www.amazon.de/XdreaM-PlayListPlayer/dp/B079NCQW4W https://forum.iobroker.net/topic/48920/ein-eigenen-mp3-song-%C3%BCber-alexa-wiedergeben/2 </comment> <next> <block type="on_ext" id="V=X8j/cP;Y-,,[adJbUF"> <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="2hP2~Z-kkGhrtSItTNN-"> <field name="oid">javascript.0.ESP_Klingel</field> </shadow> </value> <statement name="STATEMENT"> <block type="math_change" id="52QL6[ewfv%4HdIiH_Tz"> <field name="VAR" id="CyV%{3|97IkO578t@Az^">cnt</field> <value name="DELTA"> <shadow type="math_number" id="mVUK2BVUSeINZSFf=aa1"> <field name="NUM">1</field> </shadow> </value> <next> <block type="controls_if" id="gO6KS9k`:z9%cc_in9[p"> <value name="IF0"> <block type="logic_compare" id="Bdhf/CpQ[AY87j((a]J="> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="O:rY6iN~}Gi;NE=q$]V7"> <field name="VAR" id="CyV%{3|97IkO578t@Az^">cnt</field> </block> </value> <value name="B"> <block type="math_number" id="agxa-7Ws/RzMbDYsGseA"> <field name="NUM">2</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="{6-FPNpi2]}H`aHFufS8"> <field name="NAME">timeout</field> <field name="DELAY">5</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="variables_set" id="EfU1[9l]0ir#9Oy!NIoV"> <field name="VAR" id="CyV%{3|97IkO578t@Az^">cnt</field> <value name="VALUE"> <block type="math_number" id="HfD%Jpy_Id2i0GP8Yk-U"> <field name="NUM">0</field> </block> </value> <next> <block type="debug" id="L-NNQ5V|%hBqmQb*f4WC"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="3!~2w1!bC%O:JCn`wwh("> <field name="TEXT">Script Ende</field> </shadow> <block type="text" id="x/uq}`iF.`_WQhl`S+)E"> <field name="TEXT">Script "Es klingelt" wurde beendet.</field> </block> </value> </block> </next> </block> </statement> <next> <block type="timeouts_cleartimeout" id="w$]t;d`r#P/}VDj[-}*["> <field name="NAME">timeout3</field> <next> <block type="debug" id="*cU_g?iA|)fuqgZe@B[="> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="zT{a$$L|xB$8xzypv%.4"> <field name="TEXT">info: Klingel wurde aktiviert</field> </shadow> </value> <next> <block type="telegram" id="~=NDBQiM,}$tF5cO^}-n"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field> <value name="MESSAGE"> <shadow type="text" id="3Em9PCajD!PqpeN$L`e$"> <field name="TEXT">info: Klingel wurde aktiviert</field> </shadow> </value> <next> <block type="comment" id="z$y7*P[e90KmsF-2.9d%"> <field name="COMMENT">Küche</field> <next> <block type="debug" id="S?lSzH+S;Rg7-qnywJan"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="8E:GqwL4+0Rz`=|MMagF"> <field name="TEXT">test</field> </shadow> <block type="text" id="=R%@?@5:z}b.^9|q0ab@"> <field name="TEXT">Ausgabe auf Küche / Eingang "textcommand" soll als nächstes gesetzt werden.</field> </block> </value> <next> <block type="control" id="FiTl7G[oApi~lR8nPLMB"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Küche.Echo Küche.textCommand</field> <field name="WITH_DELAY">FALSE</field> <comment pinned="false" h="72" w="689">Hier ist es etwas undeutlich. Ich steuere zwar den Echo aber, dessen Musik Ausgabe ist in der Alexa App auf den Sonos Lautsprecher um geleitet. Das sollte ich wohl ändern. Den Echo-Lautsprecher nun auf eigene Ausgabe gesetzt. Weiß auch nicht ob die Gruppe Küche etwas damit zu tun hat. </comment> <value name="VALUE"> <block type="text" id="4(B,?m6Jt5Z;]=jF-mmI"> <field name="TEXT">öffne p.l.p und spiele klingel</field> </block> </value> <next> <block type="timeouts_settimeout" id="RCX8c2g7ME0xMZg{J/-O" disabled="true"> <field name="NAME">timeout2</field> <field name="DELAY">500</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="controls_if" id=".!@iMVKB8Ld!W6Y=/}Ee"> <value name="IF0"> <block type="logic_compare" id="e^bGl;.wPgs?3_bqT1s!"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="4eH^$6/KMX.F$G}~2ypK"> <field name="ATTR">val</field> <field name="OID">alias.0.Küche.Echo Küche.textCommand</field> </block> </value> <value name="B"> <block type="text" id="op771oM]Y}#2--Ety_P@"> <field name="TEXT">öffne p.l.p und spiele klingel</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="VFkK*58:b0X-x4Tn,8WB"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Küche.Echo Küche.textCommand</field> <field name="WITH_DELAY">FALSE</field> <comment pinned="false" h="72" w="689">Hier ist es etwas undeutlich. Ich steuere zwar den Echo aber, dessen Musik Ausgabe ist in der Alexa App auf den Sonos Lautsprecher um geleitet. Das sollte ich wohl ändern. Den Echo-Lautsprecher nun auf eigene Ausgabe gesetzt. Weiß auch nicht ob die Gruppe Küche etwas damit zu tun hat. </comment> <value name="VALUE"> <block type="text" id="2}oH?3;]^ab8(dj90EPV"> <field name="TEXT">öffne p.l.p und spiele klingel</field> </block> </value> <next> <block type="debug" id="#Iq2-`XiWD2@X:%+}86T"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="SGzY(FKqQA5a(y${/~Hp"> <field name="TEXT">test</field> </shadow> <block type="text" id=",FHb0i2,y/qJEL[R$JJ2"> <field name="TEXT">Zweiter Versuch aktiviert - Wert: von "textCommand" ist: </field> </block> </value> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="tBS.;yo|-jia:wUTj;u;"> <field name="COMMENT">Echo Badezimmer</field> <next> <block type="control" id="Q=f!6t(t#Xx+K`3alTzZ"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090VC0991641AMW.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="gsRx*}*Eq0Cz-!VqU*yo"> <field name="NUM">50</field> </block> </value> <next> <block type="control" id="51(VbCP5*;@bas$[Y!F,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A1A60314660241.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="=3u2f0})$H~A$6BFP(Hv"> <field name="TEXT">Da hat jemand geklingelt</field> </block> </value> <next> <block type="debug" id="7`P[%2c*i*{q[M8/vCIE"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="mQYEu~vsP0J{nE7-0cy7"> <field name="TEXT">Sprachausgabe: Badezimmer es hat geklingelt.</field> </shadow> </value> <next> <block type="comment" id="WTRJs?|5vd|_c6b;IBaH"> <field name="COMMENT">Echo Büro</field> <next> <block type="control" id="Q-=FAS*?}Ae:_G6;0K,;"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090VC0991641AMW.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="++Pt}#%!yr6k;Pe6.(_4"> <field name="NUM">50</field> </block> </value> <next> <block type="control" id="3cc4@^HymktoS`sIqEt)"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LF1072260PUJ.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="i%A-Vuruk.s/BTs2]L{_"> <field name="TEXT">Da hat jemand geklingelt</field> </block> </value> <next> <block type="debug" id="T={+z]]*g874b`1a$.4G"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="T!Pd^A!NlGsXbdzxcJzK"> <field name="TEXT">Sprachausgabe: Büro es hat geklingelt</field> </shadow> </value> <next> <block type="timeouts_settimeout" id="Jg6{d#-fD#..f,_+[V0h"> <field name="NAME">timeout3</field> <field name="DELAY">2</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="debug" id="i1S.C,iD..?8?^G86DGz"> <field name="Severity">debug</field> <value name="TEXT"> <shadow type="text" id="A-FARzN-{1)uLmZnw][m"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="#!xb5_3xr;LA5L}Gla{@"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="8LL/I~Vmbk%Wg/CS;07V"> <field name="TEXT">Kommando Wert Echo Küche ist</field> </block> </value> <value name="ADD1"> <block type="get_value" id="@?Pnuy%bR@J85/=3q_F%"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G0922H0724540HJC.Commands.textCommand</field> </block> </value> </block> </value> <next> <block type="debug" id="Qk{Bo1_Y^VVxfcF/@`j_"> <field name="Severity">debug</field> <value name="TEXT"> <shadow type="text" id="TN#H+UjnB^L%y$BfRKNG"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="I~Gg[Z{tGPL=}gGB{UyL"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="x[n+)+Py*/4y,Lr):31Y"> <field name="TEXT">Kommando Wert Echo Badezimmer ist</field> </block> </value> <value name="ADD1"> <block type="get_value" id="~hu#`LGkIZCsjUK,:aT$"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G2A1A60314660241.Commands.speak</field> </block> </value> </block> </value> <next> <block type="debug" id="llQw@/opii;XBzispdwQ"> <field name="Severity">debug</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id=";)PEKU!pq?qZYO-D1vPH"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="gOS9wfe[?M=3I2/06by="> <field name="TEXT">Kommando Wert Echo Büro ist</field> </block> </value> <value name="ADD1"> <block type="get_value" id=";?$wC,N:a`WF$s2A^BW5"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G090LF1072260PUJ.Commands.speak</field> </block> </value> </block> </value> </block> </next> </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> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> <next> <block type="comment" id="@Gc/]vyrExbb~9dlg2!]"> <field name="COMMENT">02.08.2020 </field> <comment pinned="false" h="80" w="160">Funktioniert im Moment nicht da im Gerät der falsche MQTT Port eingegeben ist. </comment> <next> <block type="comment" id="zX2kNKceVK?.e)/RtFmI"> <field name="COMMENT">11.10.2020</field> <comment pinned="false" h="80" w="160">Debug Text Anpassung. Doku hinzugefügt. </comment> <next> <block type="comment" id="..nD-2;3(~3lIaEyi7RD"> <field name="COMMENT">30.10.2020</field> <comment pinned="false" h="73" w="424">Alexa Musik Ausgabe läuft immer noch nicht zuverlässig. Versuche noch zusätzlich den Play Button zu drücken. Mal sehen ob das was hilft. Timeoutx auf 500 ms eingestellt.</comment> <next> <block type="comment" id="MiyrYdfMQBr)GPb!k,{B"> <field name="COMMENT">06.11.2020</field> <comment pinned="false" h="103" w="683">Das mit dem Play Button hat nicht geklappt. Er spielt dann Irgendeine Musik. Script im Player abgefragt was gespielt wird. </comment> <next> <block type="comment" id="BOE{NU]S4V#gZ]`g4Pl+"> <field name="COMMENT">08.11.2020</field> <comment pinned="false" h="99" w="707">"maxLength": "50", anstatt 10 bei den Objet eigenschaften eingetragen. Versuche die Phrase mit etwas anderem zu füttern </comment> <next> <block type="comment" id="rf:;|l,E+eBB/1Q-{2p!"> <field name="COMMENT">09.11.2020</field> <comment pinned="false" h="90" w="609">Löschen des Phrase Wert verbessert und Ausgabe eingeleitet.</comment> <next> <block type="comment" id="LE7yL;|=WnX{D0dR|7K["> <field name="COMMENT">10.11.2020</field> <comment pinned="false" h="80" w="160">ich habe gesehen das die Lautstärke eingestellt wurde eventuell läuft dann das Script zu schnell durch deshalb kurze verzögerung eingebaut. </comment> <next> <block type="comment" id=":ip#I$=@PbfNjO!I[]G+"> <field name="COMMENT">20.11.2020</field> <comment pinned="false" h="126" w="645">Timing überprüft. The Final Countdown hinzugefügt</comment> <next> <block type="comment" id="Xl#1|im25s$IC]#H|f~r"> <field name="COMMENT">27.11.2020</field> <comment pinned="false" h="80" w="160">Das script funktioniert mit in der Küche. Ausgabe im Büro ist noch zu testen. river flows in you eingestellt </comment> <next> <block type="comment" id="b6!nm3X2XZ*I{N4*3z1N"> <field name="COMMENT">04.12.2020</field> <comment pinned="false" h="80" w="160">Script läuft soweit. Musik Stop nach 2 Minuten.</comment> <next> <block type="comment" id="KvX!cL{^;k_i4$uufcnV"> <field name="COMMENT">18.12.2020</field> <comment pinned="false" h="90" w="527">Laustärke erhöht da meine Frau unter der Dunstabzugshabe nichts hört. Logs sind in Ordnung aber teilweise wird nichts abgespielt wie immer. Das Script hat aber sonst gut Funktioniert. </comment> <next> <block type="comment" id="2~bb/W!a4H)b,E@3}Pds"> <field name="COMMENT">30.12.2020</field> <comment pinned="false" h="80" w="160">Zeit wie lange das Sound File abgespielt wird auf 30 sekunden reduziert. Latstärke Küche von Zahl 50 auf Text 50 geändert. </comment> <next> <block type="comment" id="+iYLMRMe$gNR]GvTs{!r"> <field name="COMMENT">18.12.2021</field> <comment pinned="false" h="80" w="160">Anpassung auf den neuen Echo im Badezimmer </comment> <next> <block type="comment" id="r]p{RY~k8/*s7!;@0zby"> <field name="COMMENT">10.10.2022</field> <comment pinned="false" h="80" w="160">Das mit dem Stoppen nach 30 Sekunden hat nicht geklappt. Änderung über den Sonos Adapter</comment> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
2022-12-29 10:30:20.660 - warn: javascript.0 (8793) script.js.Meine_Scripte.Allgemein.OK_-_Allgemein_-_Es_klingelt_: info: Klingel wurde aktiviert 2022-12-29 10:30:20.661 - warn: javascript.0 (8793) script.js.Meine_Scripte.Allgemein.OK_-_Allgemein_-_Es_klingelt_: Ausgabe auf Küche / Eingang "textcommand" soll als nächstes gesetzt werden. 2022-12-29 10:30:20.661 - warn: javascript.0 (8793) script.js.Meine_Scripte.Allgemein.OK_-_Allgemein_-_Es_klingelt_: Sprachausgabe: Badezimmer es hat geklingelt. 2022-12-29 10:30:20.661 - warn: javascript.0 (8793) script.js.Meine_Scripte.Allgemein.OK_-_Allgemein_-_Es_klingelt_: Sprachausgabe: Büro es hat geklingelt 2022-12-29 10:30:25.660 - warn: javascript.0 (8793) script.js.Meine_Scripte.Allgemein.OK_-_Allgemein_-_Es_klingelt_: Script "Es klingelt" wurde beendet.
Gruß
HDM -
Niemand der irgendeine Idee hat ?
Wo kann ich zur Fehlersuche weiter ansetzten?Gruß
HDM -
Na seit es die Updates gab war bei mir auch Glückssache nun scheinen alle auf die neure Version zu sein ich habe immer noch 3.19 u.d das läuft seit zwei Wochen ohne Probleme bei mir.
-
@ostseereiter
Dann werde ich das einmal beobachten.
Bin auf Version 3.23.2