NEWS
[Script] Fritz!Box Anrufmonitor incl. Ortansage
-
wenn du anrufst, sollte das blockly auch getriggert werden - muss nix umgestellt werden
-
@liv-in-sky ok, dann vielen Dank!
-
Mein Alexa Gruppe reagieren nicht immer alle. Weisst du da auch Rat?
-
@liv-in-sky
Ich muss es also nicht wieder so ändern? -
@Uli977 nee - tut mr leid - ich habe eignetlich keine gruppen eingerichtet - bzw. nutze sie eigentlich nicht- da solltest du am besten in einem alexa2 thread mal nachfragen
nein lasse das blockly so wie es ist - nur das debug blockly kannst du deaktivieren
-
@liv-in-sky Alles klar! Nochmal danke!
-
@Uli977 gerne
-
@Uli977 sagte in [Script] Fritz!Box Anrufmonitor incl. Ortansage:
Mein Alexa Gruppe reagieren nicht immer alle. Weisst du da auch Rat?
Was für Gruppen ? Multiroom Musik Gruppen ? (oder ander Gruppen)
-
@dslraser Lautsprecher Gruppen
-
@Uli977
was sind jetzt Lautsprechergruppen, zeig mal -
-
@dslraser Die nutze ich ja auch wenn ich Alexa z.B. frage "sind noch Fenster auf!
Da Antwortet sie aber auch nicht immer auf allen geräten
-
@dslraser Also Multiroom-Musik - "Überall"
-
@Uli977 sagte in [Script] Fritz!Box Anrufmonitor incl. Ortansage:
@dslraser Die nutze ich ja auch wenn ich Alexa z.B. frage "sind noch Fenster auf!
Da Antwortet sie aber auch nicht immer auf allen geräten
Das sind Multiroom Musikgruppen. Poste mal Dein ganzes Script.
-
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="undefined" id="timeout3">timeout3</variable> <variable type="" id=",}E@OkW_Xp6fl4z$=k8z">caller</variable> <variable type="undefined" id="timeout2">timeout2</variable> <variable type="" id="]*a#2B4IsFp](y%Z^L[r">On call states</variable> <variable type="" id="eojonh*PZ~8frFA8=~W}">callerName</variable> <variable type="" id="^vp.rg2cH7kAuk`D@j$F">city</variable> <variable type="" id="8ADW~bY`3ni(H?nb@WF)">volume</variable> <variable type="" id="jMc+=[hFy[u]?-v!Uq2J">result</variable> <variable type="" id="in/X:={_riGAlY!oiiGh">speak</variable> <variable type="undefined" id="Intervall">Intervall</variable> </variables> <block type="on_ext" id="vc?N_0:HH+4*JEH9Uv`*" x="612" y="-313"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="xvJr#y|Mtfk^d2GC5;|8"> <field name="oid">default</field> </shadow> <block type="field_oid" id="C=|Bm%a[.%CW2w).Cy2,"> <field name="oid">tr-064.0.callmonitor.inbound.json</field> </block> </value> <statement name="STATEMENT"> <block type="timeouts_settimeout" id="{X+(S1ZsP},trHiu:0$d"> <field name="NAME">timeout3</field> <field name="DELAY">500</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="variables_set" id="~tjnz?svl?[3`5bw0You"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> <value name="VALUE"> <block type="lists_split" id=".*5X{c/Zq#_QeHI/YL+0"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="get_value" id="}y._-@NY7A}A15vB6pQf"> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.inbound.json</field> </block> </value> <value name="DELIM"> <shadow type="text" id="Qgr-n@Gwi+cb/c)S;:RL"> <field name="TEXT">"</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id=")pnKB4!o9)_myv.02YT("> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> <value name="VALUE"> <block type="lists_getIndex" id="Zej6|F6=;(lB.wx.RYU*"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="Jrb.:gLl$Y2R|PwbPmsZ"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> <value name="AT"> <block type="math_number" id="E(xLVK7@2}hY9$fGYha@"> <field name="NUM">4</field> </block> </value> </block> </value> <next> <block type="debug" id="{OhM^RfQm*s^3/Pakb8k"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="h0C.!COO3{4cKMW0#Nk("> <field name="TEXT">test</field> </shadow> <block type="text_join" id="|L:o^vn2ljH9=:8{!OBu"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="pV2!/ugNO+PQMF*7h:]3"> <field name="TEXT">Caller ist: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="eL%f1-K#H/O=Y^fW345b"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> </block> </value> <next> <block type="exec" id="6yVjA?LIjfOKa+T!ML4=" disabled="true"> <mutation with_statement="true"></mutation> <field name="WITH_STATEMENT">TRUE</field> <field name="LOG"></field> <value name="COMMAND"> <shadow type="text" id="mX-3^.@M#AGIX^fN#p^9"> <field name="TEXT">bash /opt/bin/iobroker/getcity.sh </field> </shadow> <block type="text_join" id="DX2s.t0/H[;A#QW)}*o6"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="6`~)xWH,5anaH0W9D{2("> <field name="TEXT">cd /opt/iobroker/ && bash /opt/iobroker/getcity.sh "</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="t2%4Nfa*)zVRq;S-lx*`"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> <value name="ADD2"> <block type="text" id="2ph3E=5I02WCu|mu%h~]"> <field name="TEXT">"</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="debug" id="i/8r9+OqPC6RH+v#?!om"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="5IA}J?8fXQI{[e]S+tE^"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="((/e`jfiz)^9{WQ.HLMm"> <field name="VAR" id="jMc+=[hFy[u]?-v!Uq2J" variabletype="">result</field> </block> </value> <next> <block type="update" id="[4|zNAFjc6U=[Uq}[YU5"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Telegram_Benachrichtungen.Anrufer_Stadt</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="/Kvcjib5-aha_$|Txped"> <field name="VAR" id="jMc+=[hFy[u]?-v!Uq2J" variabletype="">result</field> </block> </value> </block> </next> </block> </statement> <next> <block type="update" id="nk:DEdFqq*YYUl.7![tk"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Telegram_Benachrichtungen.Anrufer_Stadt</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="2]H?MMVeb.23=Wtj@fe7"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenpunkte.Telefon.Telefon</field> </block> </value> <next> <block type="variables_set" id=":L(OMuy:*;LxCL2(XNW("> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> <value name="VALUE"> <block type="get_value" id="{t:J#(Dd7/z(3^dr~_x8"> <field name="ATTR">val</field> <field name="OID">javascript.0.Telegram_Benachrichtungen.Anrufer_Stadt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> <block type="on" id="h;7+(=CcPI7MSx+?g|*5" x="638" y="338"> <field name="OID">tr-064.0.callmonitor.ringing</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="jz~%.(W!P/=?kTV_ku7]"> <value name="IF0"> <block type="logic_compare" id="5]rou1/.eV:{uyoJ9WBi"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="J3ftE-m#-F!zV++dAb5_"> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.toPauseState</field> </block> </value> <value name="B"> <block type="text" id="WOlt|:!)g--Ht(ne(RX1"> <field name="TEXT">ring</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="0m=,:GR8{?L9Avi*a4HL"> <field name="NAME">timeout2</field> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="variables_set" id="%Ycmv?OF4|eO*QfNJN8u"> <field name="VAR" id="]*a#2B4IsFp](y%Z^L[r" variabletype="">On call states</field> <value name="VALUE"> <block type="get_value" id="AyC{YRMU{])q?~ypw3y["> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.toPauseState</field> </block> </value> <next> <block type="variables_set" id="xB6cV72gaYVd}tJ|F/F~"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> <value name="VALUE"> <block type="get_value" id="@;dhLD{-*)CBugUX1[m,"> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.inbound.callerName</field> </block> </value> <next> <block type="variables_set" id="3AoW?j~#TW0__wz(YSg*"> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> <value name="VALUE"> <block type="get_value" id="Hd$FEsyLCUQvSRS(0Re3"> <field name="ATTR">val</field> <field name="OID">javascript.0.Telegram_Benachrichtungen.Anrufer_Stadt</field> </block> </value> <next> <block type="variables_set" id="N^d}bwaf7w8K6rG[UE-q"> <field name="VAR" id="8ADW~bY`3ni(H?nb@WF)" variabletype="">volume</field> <value name="VALUE"> <block type="text" id="k`C6ho]n6pc${aLU(`64"> <field name="TEXT">100</field> </block> </value> <next> <block type="variables_set" id="pEY@ZP|b*bR3rpdEUfG:"> <field name="VAR" id="in/X:={_riGAlY!oiiGh" variabletype="">speak</field> <value name="VALUE"> <block type="get_value" id="2c;4UMfU4.ij*hm}?Btn"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> </block> </value> <next> <block type="controls_if" id="qWhnWk.9%-W7`Ll-9Oia"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_operation" id="2R93jg?p}dgZfWDQu(=N"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="w?Y@t3ad/lfjM.AEPJ9|"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="`S-*DoS|%=MTavNbqu3N"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="B"> <block type="text" id="l6GW=4LEvh:Uhk/=-WI/"> <field name="TEXT"></field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="3{6|M/I`cRN#o6ew4o]P"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="w,Vj)e0MR#;:IH6x`j7r"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> <value name="B"> <block type="text" id=")2-LlV1(xiY??#tVSG-%"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="+{R|3o_d}lv_7z|DtjEY"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="C.StMz=bwff!{YV*,lNC"> <field name="VAR" id="8ADW~bY`3ni(H?nb@WF)" variabletype="">volume</field> </block> </value> <next> <block type="control" id="c)g3y.{=8ObMYgm0sFq}"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="_Pf|e@+:q+tMM?+PMXUH"> <field name="TEXT">Unbekannte Nummer ruft an</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_compare" id="Id8Pm4pTL~6rzUGpO[PQ"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="U;u}p|tsVd5eMZQa3`]o"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="B"> <block type="text" id="Wt#uS@Wsw.?FfZ32AYcr"> <field name="TEXT"></field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="X7x9p2n^CFx._c;`I`Tn"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="eielG,Luwv#R4;DDDiCW"> <field name="VAR" id="8ADW~bY`3ni(H?nb@WF)" variabletype="">volume</field> </block> </value> <next> <block type="controls_if" id="VTqMsN/90m*;gQJ,70_k"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="K$_aGy^M*S|zNMBiVQl]"> <field name="OP">EQ</field> <value name="A"> <block type="text_indexOf" id="I#A*3T%IcR?$P(btGX6H"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="s[;cYRe~:z;u(,ckjSW."> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> </block> </value> <value name="FIND"> <shadow type="text" id="O*KqyH6[aTE^|kX9%0y~"> <field name="TEXT">abc</field> </shadow> <block type="text" id="JF2Yua~Ck%Gr+j[gi01["> <field name="TEXT">Handynummer</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="STb|[s+ZDZ7mN,h,n*?G"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="{KV#]dIN(^+wrG*6RVxj"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="YpC=g*@Vs^J#ZkJw_a%b"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="rCblWLIuGh%Du.vNJ!5u"> <field name="TEXT">Anruf aus </field> </block> </value> <value name="ADD1"> <block type="variables_get" id=",hkMeXv{vHCiNHT_^!dR"> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> </block> </value> <value name="ADD2"> <block type="text" id="%Hqrz;-zU0x_#UOdT_0}"> <field name="TEXT"> mit der Nummer </field> </block> </value> <value name="ADD3"> <block type="variables_get" id="uk]k`_=P7Z`bCb3RoT-M"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="sDwTdRBZQ:AvZh^iGU?L"> <field name="OP">GT</field> <value name="A"> <block type="text_indexOf" id="2`a%dAOg]:a=|S.b:[q|"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="N,V,ZB)0Eeg7t7yoH}^P"> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> </block> </value> <value name="FIND"> <shadow type="text" id="O*KqyH6[aTE^|kX9%0y~"> <field name="TEXT">abc</field> </shadow> <block type="text" id="x3(JMn);F^nuJ_*(2XxW"> <field name="TEXT">Handynummer</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="0^*sx@#*`=c@%MT*E.3m"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="~iSd^neX(+(JJ!fE{PE+"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="NXgXq9-*lV%XcVAOC-kF"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="$T?EIUY%^5cD?;RSwb-I"> <field name="TEXT">Ein Anruf mit der Nummer </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="kbY`n@+E/E(bI{TG@z!-"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id=".SPH-wnl,Ggyv^K(EB?5"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="FNC7Ui|N(XQL_r3vQ-~u"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="B"> <block type="text" id="?7c}zrB02lQ@}_kYT01="> <field name="TEXT"></field> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="#jy%Gup{T9NYA9ii8:Xf"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="s4[5%k%=~B0FcKAf9NBW"> <field name="VAR" id="8ADW~bY`3ni(H?nb@WF)" variabletype="">volume</field> </block> </value> <next> <block type="control" id="dkpf|36YXjYE;I#=E{/j"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="[J5,Xv05{NVoesX?X{)^"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="JTv1,B#9IQ.6WXs~BiC^"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="ADD1"> <block type="text" id="TsxCXnXUiJWE5+hzN?W4"> <field name="TEXT">ruft an</field> </block> </value> </block> </value> </block> </next> </block> </statement> <next> <block type="timeouts_setinterval" id="v_Bqgg{C;}*SlNxMx+{v"> <field name="NAME">Intervall</field> <field name="INTERVAL">8000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="variables_set" id=":+L^L#%w}TaZ,oF%%Hee"> <field name="VAR" id="]*a#2B4IsFp](y%Z^L[r" variabletype="">On call states</field> <value name="VALUE"> <block type="get_value" id="/jrF]ty4e!p+AvASy8G)"> <field name="ATTR">val</field> <field name="OID">tr-064.0.callmonitor.toPauseState</field> </block> </value> <next> <block type="controls_if" id="j87.ZsAyGl(mU8^*6Tr;"> <mutation elseif="3"></mutation> <value name="IF0"> <block type="logic_operation" id="*u%zOMGy%F@!-}CJQlsp"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="Ia?0)w*#[cTW9d%,3*^w"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="^jM5pL6QJBLg%]o:C#PW"> <field name="VAR" id="]*a#2B4IsFp](y%Z^L[r" variabletype="">On call states</field> </block> </value> <value name="B"> <block type="text" id="w5`CFx@zd-,jjjDnp0~`"> <field name="TEXT">end</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="#M!]E7h3!{o=E*ekb|xy"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=")3Ks~V`4HOPFyOMc`yLm"> <field name="VAR" id="]*a#2B4IsFp](y%Z^L[r" variabletype="">On call states</field> </block> </value> <value name="B"> <block type="text" id="It4NApphzKDp+{e4ch!w"> <field name="TEXT">connect</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="}R~N3@uq}FDl0Z62!^Vw"> <mutation delay_input="false"></mutation> <field name="OID">tr-064.0.callmonitor.inbound.callerName</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="F.Di%NWzTMz71Kg+])l,"> <field name="TEXT"></field> </block> </value> <next> <block type="control" id="5yGux~{xs{gf=a+U0%,H"> <mutation delay_input="false"></mutation> <field name="OID">tr-064.0.callmonitor.inbound.caller</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="*T{w@^.{ju_Y,3467f2B"> <field name="TEXT"></field> </block> </value> <next> <block type="timeouts_clearinterval" id="YV5b]tFF(N3}/Lm)NYs("> <field name="NAME">Intervall</field> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id=")acAXba{I:?)mwY3FQ5M"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="TW9fh_{`g@VCF%A[XfCq"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="E5o!zD)|PmZcj2Pd=]fi"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="B"> <block type="text" id="Ji[:io{=QH_Pjfl-[;eB"> <field name="TEXT"></field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="1l.]F[voVkI.Ip:8:2[q"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="8#-f}ub^-tzPf#%Der3i"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> <value name="B"> <block type="text" id="OAqQ.JTGuNcQN-=!rb%U"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="2^.c]$0}n(cyjCzTz;3X"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="R?q5@,u~EkGIZA|cc0*y"> <field name="VAR" id="8ADW~bY`3ni(H?nb@WF)" variabletype="">volume</field> </block> </value> <next> <block type="control" id="xZSRRHYE],He4Q7er=)%"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="1OnbUqQlKCyVrjnS=*^l"> <field name="TEXT">Unbekannte Nummer ruft an</field> </block> </value> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id="}Ts:wbNat#zfS[n*z;b:"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="O0Dws_Q#Y)mm~xb(@A3X"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="B"> <block type="text" id="^!^KZ!ubH3AzTa+!-k;R"> <field name="TEXT"></field> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="O:[(6j%l|(hs.)d46uS|"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Player.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="X)[QK{c:WMMfz4oi0D#U"> <field name="VAR" id="8ADW~bY`3ni(H?nb@WF)" variabletype="">volume</field> </block> </value> <next> <block type="controls_if" id="sVBk/^uA]t,~^Nzb=Zfa"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="x?{sMo$C0+Ni=cGQ.6J)"> <field name="OP">EQ</field> <value name="A"> <block type="text_indexOf" id="JH#6]@7EY+ndf:~TNg$G"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="[|*6p;IQLVxy;qO#,:!t"> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> </block> </value> <value name="FIND"> <shadow type="text" id="O*KqyH6[aTE^|kX9%0y~"> <field name="TEXT">abc</field> </shadow> <block type="text" id="}4Ej@eshPHN1mTV|7GeV"> <field name="TEXT">Handynummer</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="BVLMShFRJ~`vvvtNbV^`"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="A[#=rD/0r$*V9$1Eo}6d"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="X-KmEI?v;8h%y#b|n{BQ"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="{fdtYn1NcRx/kT4h=-g/"> <field name="TEXT">Ein Anruf aus </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="16HJmm1*Ef)i+1vGUaL*"> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> </block> </value> <value name="ADD2"> <block type="text" id="CPx#mg[T1G~_r#Kgubpk"> <field name="TEXT"> mit der Nummer </field> </block> </value> <value name="ADD3"> <block type="variables_get" id="DL1,J^xa}`r#jy?w5Fru"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="9?dq*cEy?5z*jB=IjABT"> <field name="OP">GT</field> <value name="A"> <block type="text_indexOf" id="{{N%4o9m,;GJlhF]E]~O"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="on[#!LiD`Yd^rvUPC:s;"> <field name="VAR" id="^vp.rg2cH7kAuk`D@j$F" variabletype="">city</field> </block> </value> <value name="FIND"> <shadow type="text" id="O*KqyH6[aTE^|kX9%0y~"> <field name="TEXT">abc</field> </shadow> <block type="text" id="]B`Q.*vLO|S`IP{B2WKG"> <field name="TEXT">Handynummer</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="s!rE^59A5Dt={~njy6{A"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="_A{0LW.[eT=80Ai$$Kb8"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="@9vHH%5tVM9syqKA2Uz?"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="qhw6j%*bT{TJd_PM{+VC"> <field name="TEXT">Ein Anruf mit der Nummer </field> </block> </value> <value name="ADD1"> <block type="variables_get" id=":Jc*ZxS-Bx~S6H^J9Sof"> <field name="VAR" id=",}E@OkW_Xp6fl4z$=k8z" variabletype="">caller</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </statement> <value name="IF3"> <block type="logic_compare" id="B^(=1b~0d-~WUK.OMhk]"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="O0HAfh;q;n6j|g}u_(he"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="B"> <block type="text" id="q-/pp:e@(F6A)ETnVBYj"> <field name="TEXT"></field> </block> </value> </block> </value> <statement name="DO3"> <block type="control" id="96y:F1wL.iTuSZz}J+m-"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.e3cc7d4739f747618c15edb4a89f1f09.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="xF3bryAsT6V^`U~lsIj]"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="jHwoqHPN%dHtS7q9psKS"> <field name="VAR" id="eojonh*PZ~8frFA8=~W}" variabletype="">callerName</field> </block> </value> <value name="ADD1"> <block type="text" id="-Rt9?+F[-Xv2f@i2YZ;@"> <field name="TEXT">ruft an</field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block> </xml>
-
@Uli977
Was mir so auf die Schnelle aufgefallen ist (ich kann Dein Blockly aber nicht testen, da ich den Community installiert habe)Volume sollte eine Zahl sein (ist bei Dir Text)
und speak hast Du zwar angelegt, nutzt es aber nicht. (kommt nicht vor in Deinem Blockly)Speak könntest Du so nutzen
-
@dslraser Ok, das mit dem Wert habe ich korrigiert.
Das mit dem speak ist mir nicht ganz klar..... hab das Skipt ja auch übernommen.
-
@Uli977 sagte in [Script] Fritz!Box Anrufmonitor incl. Ortansage:
Das mit dem speak ist mir nicht ganz klar..... hab das Skipt ja auch übernommen.
geht ja auch so wie Du es hast, aber speak wird nicht genutzt, sehe ich nirgends, dann kannst Du es auch deaktivieren oder löschen.
Ich sehe hier kein verwendetes speak als Variable...
-
@dslraser Ja, verstanden!
-
Hi,
ich habe den tr-064.0 durch Community-Adapter ersetzt, und die Datenpunkte habe ich alle aktualisiert.
nun funktioniert den Anruf Monitor von Elzershark nicht mehr.der Adapter an sich funktioniert nur der Befehl an Alexa-Echo geht nicht durch.
tr-064-community.0.callmonitor.ringing => zeigt true wenn ich anrufe.
tr-064-community.0.callmonitor.toPauseState => zeigt ring wenn ich anrufe.
inbound.caller und .callerName werde auch aktualisiert.
im Log ist kein Fahler:
javascript.0 2019-12-25 10:34:25.441 info (13687) script.js.Geräte.Anrufmonitor: registered 1 subscription and 0 schedules javascript.0 2019-12-25 10:34:25.431 info (13687) Start javascript script.js.Geräte.Anrufmonitor javascript.0 2019-12-25 10:34:17.725 info (13687) Stop script script.js.Geräte.Anrufmonitor javascript.0 2019-12-25 10:34:15.894 info (13687) script.js.Geräte.AnrufmonitorStudio: registered 1 subscription and 0 schedules javascript.0 2019-12-25 10:34:15.871 info (13687) Start javascript script.js.Geräte.AnrufmonitorStudio tuya.0 2019-12-25 10:32:33.447 info (21147) bf1xxx90xxxp19m Init with IP=addr:192.168.178.75, Key=1f8dxxxxxxxxx74, Version=3.2 tuya.0 2019-12-25 10:29:28.367 info (21147) bfxxxxx76xx13p19m Init with IP=addr:192.168.178.75, Key=1f8xxxxxxxxe074, Version=3.2
kann mir bitte jemand sagen woran es liegen könnte?