NEWS
Verschiedene Ansagen bei alexa über Blockly(Fritzbox)
-
Hallo....es gibt ja das Blocklyscript wo Alexa sagt das ein Anruf von dem oder dem Kommt. gibt es auch eine möglichkeit jedem anrufer einen eigenen text zuzuordnen, da ja jeder anrufer in der fritzbox eine ID hat....so denke ich mal
lg
-
@matze55 Welches Blockly-Script meinst Du?
Ja, du fragst nach der Telefonnummer ab und sendest Deinen gewünschten Text an die aktuelle Alexa.
Eingangsanruf erkennt man im DPtr-064.0.callmonitor.inbound.caller
-
@mcu ich wollte es gerne so haben das jeder Anrufer einen eigenen Text zugeordnet bekommt. Aber ich glaube das geht nicht.
-
@matze55 Das kannst Du doch mit hilfe eines Scrips lösen:
kommt der Anruf von Nummer "A" lässt Du Alaexa sagen dass es der Anrufer "A" ist, kommt der Ruf von "B" ist es Anrufer "B". Bei unbekanntem Anrufer lässt Du dir die Nummer ansagen. -
-
@matze55 Wenn du das Script nutzt, müssen die Einträge im Telefonbuch gepflegt werden, dannn geht das doch automatisch.
AVM setzt doch die Nummer direkt in einen Namen um.
Ließ doch mal die Nachrichten unter dem Post von dem kopierten Blockly -
@matze55 ich hab da mal was gebastelt, nur kurz ausprobiert, nicht viel getestet, vielleicht passt das so für dich, oder du kannst es für dich ändern.
Wenn jemand anruft sagt Alexa z.B. den Text:
Xyz mit der Rufnummer 0151xxxxxxx möchte mit dir sprechen
Die Ausgabe erfolgt hier auf 4 Echo-Geräten -
@winni hast du mal das Blockly bitte.
-
@matze55 gerne
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="_L{8phOT6eS{1}_^VVh|">text</variable> </variables> <block type="comment" id="9{gz|2R@#iV_EkAv~YAY" x="-4113" y="-5063"> <field name="COMMENT">Ansage wer anruft</field> <next> <block type="on_ext" id="NI{l`tG0){@Pwc;!6(pk"> <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="U+.RE^a!hzM7{*D$jUrb"> <field name="oid">tr-064.0.callmonitor.ringing</field> </shadow> </value> <statement name="STATEMENT"> <block type="timeouts_wait" id="=NcI~y7=lLWL|Wc^T)sK"> <field name="DELAY">3</field> <field name="UNIT">sec</field> <next> <block type="variables_set" id="tj/T!Kf[hY2*/1z%uApe"> <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field> <value name="VALUE"> <block type="text_join" id="mKlF=3f)3T0F6*ShmV2%"> <mutation items="4"></mutation> <value name="ADD0"> <block type="get_value" id="M#nVUag`MU`T+ZVFym-f"> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.inbound.callerName</field> </block> </value> <value name="ADD1"> <block type="text" id="=y0DUgMIUcPrP}eKvm=o"> <field name="TEXT"> mit der rufnummer </field> </block> </value> <value name="ADD2"> <block type="get_value" id="bHInGqoOcwQmDOce~m!^"> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.inbound.caller</field> </block> </value> <value name="ADD3"> <block type="text" id="?P-9eI$!m$h^DnlMPkEs"> <field name="TEXT"> möchte mit dir sprechen </field> </block> </value> </block> </value> <next> <block type="comment" id="Z0GHC[_+WHTvabH*IPOA"> <field name="COMMENT">Echo Schlafzimmer </field> <next> <block type="control" id="L*ZA=^K#OQ?7gisix1DK"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G0911B05932700S3.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="yve_LL]EgEBrJ47oiWm6"> <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field> </block> </value> <next> <block type="comment" id="fAzzTCto*oOu:ElPxBkX"> <field name="COMMENT">Echo Wohnzimmer </field> <next> <block type="control" id="Dz(|gw}pYu$mB4%H]W]@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090NV037425053B.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="WYz}T=3Bf?stlR.j--F,"> <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field> </block> </value> <next> <block type="comment" id="r~zTCFR-c8Vmdzs]/=uZ"> <field name="COMMENT">Echo Küche</field> <next> <block type="control" id="=B2S!}4[`JRncw|(;5P,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G070RQ1080360WJU.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="zX/v]AyW[(=p]rzS/qwe"> <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field> </block> </value> <next> <block type="comment" id="=oot=kz4%Wf?XhA.q|Px"> <field name="COMMENT">Echo Bad</field> <next> <block type="control" id="ex6Rgw9YwM%2::KS$Q:K"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090U50991121FH7.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="?XA4l-v-85up=v?ao$Tn"> <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>
-
Ich bin ja D...mm, warum es schwerer sich machen wenn es einfach geht, habe nur im Telefonbuch der Fritzbox jedem Anrufer einen eigenen Text verpasst unter der Telefonnnummer.
Aber die Scripte funktionieren ich danke nochmal für die Unterstützung