@dslraser
hier ist das fertige Skript
door.PNG
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="M3m7O(~[HxAyvaZ`X9fc">dingdong</variable>
<variable type="undefined" id="timeout">timeout</variable>
<variable type="undefined" id="Intervall">Intervall</variable>
<variable type="undefined" id="timeout3">timeout3</variable>
<variable type="undefined" id="timeout2">timeout2</variable>
</variables>
<block type="on" id="k]$B;N;31WP-1t,*.qMY" x="-2438" y="-1362">
<field name="OID">cloud.0.services.Door</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="variables_set" id="np)k3#L^*ND){3JUGc0$">
<field name="VAR" id="M3m7O(~[HxAyvaZ`X9fc" variabletype="">dingdong</field>
<value name="VALUE">
<block type="text" id="n1upn[Gc2|F+.k7;.q%#">
<field name="TEXT"><speak><say-as interpret-as="interjection">ding dong</say-as>,<speak><voice name="Alexa">Es klingelt an der Haustür</voice></speak></field>
</block>
</value>
<next>
<block type="timeouts_clearinterval" id="|Uln^,p|+cf#@}Lt#7`S">
<field name="NAME">Intervall</field>
<next>
<block type="controls_if" id="lzhT95AO^8[e]v~+.91x">
<value name="IF0">
<block type="logic_compare" id="v:xG5Go0Ttc7i`|Om[Wg">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="t/ZL:ZNgLjn$K_zNL8As">
<field name="ATTR">val</field>
<field name="OID">cloud.0.services.Door</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="rniEEUT8)NdbRIVwl5H[">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="M(u*]*Q4TYC$!MB`#i#F">
<field name="COMMENT">ECHO Wohnzimmer</field>
<next>
<block type="control" id=")en[Es_ZKi-`1NPhg)k4">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G2A0RF04820202VK.Commands.ssml</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="Gx|EFOt/ZM4jRIss,SM~">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="variables_get" id=":0(:#oES+{pa3_tsyj#v">
<field name="VAR" id="M3m7O(~[HxAyvaZ`X9fc" variabletype="">dingdong</field>
</block>
</value>
</block>
</value>
<next>
<block type="comment" id="on=EC!a0W!5GtEMU4RSt">
<field name="COMMENT">Lampe Wohnzimmer</field>
<next>
<block type="control" id="AHTnnWEX?D6,fyL`2#ZK">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerleuchte.POWER1</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="P37yZdjG~TQT3Vnx:)[n">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id=";:D~bXnVVq.3me{Sk*YK">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerstrahler.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="!s{Zr%euZ.lcb{H:icGz">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="rI4i)b?Tus^2!skY*;JT">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Stehlampe.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="weTaLB#JVs9m6/GId]Q.">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="comment" id="uiK`hL2]yR^rNmy]YTJ5">
<field name="COMMENT">ECHO Küche</field>
<next>
<block type="control" id="wbI5_bWXwsEp6MR(Wrgs">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11749612G9.Commands.ssml</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id=".*Za73IG;:{%#):oT{i2">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="variables_get" id=")zS*5~GL`Ae!$G$89sTt">
<field name="VAR" id="M3m7O(~[HxAyvaZ`X9fc" variabletype="">dingdong</field>
</block>
</value>
</block>
</value>
<next>
<block type="comment" id="[C`hZ^c6g0W?+Z~~U5an">
<field name="COMMENT">Lampe Küche</field>
<next>
<block type="control" id="TqWScaKtMTIyJS}cR)4F">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Küchenlicht.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="E}`L5}AlV]SjFUl.R1If">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="E3wbHE,hz7v`0~8oB]h`">
<field name="NAME">timeout</field>
<field name="DELAY">2</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="comment" id="Jg8W!*C7HRZ*)Is:VhsT">
<field name="COMMENT">Lampe Wohnzimmer</field>
<next>
<block type="control" id="ww=i2Fm0ST@/:hqt,ITi">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerleuchte.POWER1</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="]9QtXPw_]w)%DsZiZJ*E">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="pJGqW(|P;|`K6U#:ilaU">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerstrahler.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="|q%p@be=1;9|*AS?t?ZP">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="^gQti+F:JwaAO8Qzser6">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Stehlampe.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="r{Y/[s(p2.cH=?`{i52*">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="comment" id="V$5~/2_{$,mDqjbWsksC">
<field name="COMMENT">Lampe Küche</field>
<next>
<block type="control" id="A=DY0W4i}?}(lz,-`1N=">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Küchenlicht.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="}u,rrPqnO[42%rc[-x`6">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="timeouts_setinterval" id="k@.H@[JR[(vstjR9Jm.=">
<field name="NAME">Intervall</field>
<field name="INTERVAL">5</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="comment" id="$W;bRo]Xqps%CNbK2mlz">
<field name="COMMENT">ECHO Wohnzimmer</field>
<next>
<block type="control" id="}%e%kDh$?WnEPQf)XLq-">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G2A0RF04820202VK.Commands.ssml</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="Q0ita0{:e(zJRLsBl+L8">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="variables_get" id="zd1o^+`ME-ls@@0MFL?r">
<field name="VAR" id="M3m7O(~[HxAyvaZ`X9fc" variabletype="">dingdong</field>
</block>
</value>
</block>
</value>
<next>
<block type="comment" id="d=4Q_A,I1`G8q^G|dRtg">
<field name="COMMENT">Lampe Wohnzimmer</field>
<next>
<block type="control" id="KO/+]d{7v03GwX;YRkVs">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerleuchte.POWER1</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="~gUo9^TL%c*%OoMd:(0{">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="(L3e%B/db/3~tC{gyBZx">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerstrahler.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="lOn#yQd^7AJb-,%(cS]~">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="V{VCE-r+^m*ys}ZU.gP4">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Stehlampe.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="n8Fss104]{|DxYBSx[if">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="comment" id="duH[)r-B+:vF]?:%~c]U">
<field name="COMMENT">ECHO Küche</field>
<next>
<block type="control" id=")/KZ9N:tv=}UEP~Fv(mD">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11749612G9.Commands.ssml</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="S5HX)]bF/s)e~1fPG~d.">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="variables_get" id="QlGrLA6|iTV2$REtd8#%">
<field name="VAR" id="M3m7O(~[HxAyvaZ`X9fc" variabletype="">dingdong</field>
</block>
</value>
</block>
</value>
<next>
<block type="comment" id="MRK7f;Dk;^1*FJ[EYZa$">
<field name="COMMENT">Lampe Küche</field>
<next>
<block type="control" id="nOc$hI_^#|:*L)IL1PR(">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Küchenlicht.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="a5LSpcSYFWp]s1z0Bm0`">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="j]8)ZR8|ryJ_BCXl`xQT">
<field name="NAME">timeout2</field>
<field name="DELAY">2</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="q#xX5jm;{hR0aMow;0Oq">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerleuchte.POWER1</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id=":E}y8~$u(O`yh5=l4Z5J">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="TxF:g6mES6G}9ByxpZ|B">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Wohnzimmerstrahler.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="cv`n*N-7nc_:{Zp;,es`">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="}/73MHa9tb/s^${!by9_">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Stehlampe.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="nWJu0nz/LZ7-?f8N2$!w">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="%w!VX+J0Lq|gtAvo4Dye">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Küchenlicht.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="HxMaqDdOU^jRcj:BGLtv">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</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>
</statement>
<next>
<block type="timeouts_settimeout" id="iiaM#Q#p#-!KJ0SdVU@%">
<field name="NAME">timeout3</field>
<field name="DELAY">14</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id=";Pl$4~[E[,_AoRFr3!+3">
<mutation delay_input="false"></mutation>
<field name="OID">cloud.0.services.Door</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="ZETJ-Q{JIEXb?ZaI2BOd">
<field name="BOOL">FALSE</field>
</block>
</value>
</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>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>