- Home
- Deutsch
- Skripten / Logik
- Blockly
- Alexa Zeiten sprechen lassen.
Alexa Zeiten sprechen lassen.
-
Hallo, ich möchte das Alexa die Rest Zeit meiner Gartenbewässerung ansagen kann.
Als Basis werden mir die Sekunden angegeben.
Das Alexa jetzt das in Minuten ansagt ist ja nicht so schwer, aber ich hätte es gern, das die Sekunden in Stunden und Minuten getrennt werden.
Also bei zB. 45 min, Die Bewässerung läuft noch 45 Minuten .
Wenn jetzt aber noch 90min Rest sind, soll sie sagen: Die Bewässerung läuft noch 1 Stunde und 30 Minuten .
Wie kann man das ordentlich trennen? -
@atomicix
Hab eins von mir mal angepasst...
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="POW2_o0mZP?m|)qI45-g">ms</variable> <variable id="kqgBV)H+=vdiHpYdZzA;">SS:mm</variable> <variable id="xXA4N}Y[o%Z6@RW];`29">Sx</variable> <variable id="$s{:~~)wy32}}UpK+?iF">xS</variable> <variable id="Pq89//Ky1iK6ZM,wKryo">mx</variable> <variable id="-?Crl}_E$~f/[?t$NbQ7">xm</variable> <variable id="cie_AW:lYl-0|Vg$=#Ry">SS</variable> <variable id="Liwm(|:7UsM{E+Xuw3k|">mm</variable> <variable id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</variable> <variable id="(;8c}$]Wnc:LQCUib}E.">Alexa mm</variable> </variables> <block type="on_ext" id="?t.:w`W[Uz{DtL@=3*8y" x="2043" y="1077"> <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="xlYQOA[M5Ct/vW:`!A=c"> <field name="oid">0_userdata.0.Test.restzeit</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="~RHiuZo^azsn7MQ|~Iq-"> <field name="VAR" id="POW2_o0mZP?m|)qI45-g">ms</field> <value name="VALUE"> <block type="math_arithmetic" id=".a}t-,F[Ft]q{.eiuck}"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="^AEi7Rfa?SnMQw=P?S/O"> <field name="NUM">1</field> </shadow> <block type="on_source" id="@aZ#mk7]tnE3$8e@BfK8"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="=Q/BsO4|Y0HrA;0~OxM/"> <field name="NUM">1</field> </shadow> <block type="math_number" id="k$fIz`{]FpN@@wL27fvE"> <field name="NUM">1000</field> </block> </value> </block> </value> <next> <block type="variables_set" id="-uzJeBgfT`NVb3e2s4oI"> <field name="VAR" id="kqgBV)H+=vdiHpYdZzA;">SS:mm</field> <value name="VALUE"> <block type="convert_from_date" id="w`lOBrCPIac6u$hn-uf$"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">hh:mm</field> <value name="VALUE"> <block type="math_arithmetic" id="j?Rn8MI3$j)nRN`*u24Q"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Mx|wq+xRr-5Kmh(_5ujw"> <field name="NUM">1</field> </shadow> <block type="variables_get" id=":n*o#}CU*;n,=:~ltarC"> <field name="VAR" id="POW2_o0mZP?m|)qI45-g">ms</field> </block> </value> <value name="B"> <shadow type="math_number" id="~{m7W#.14qz+R.7;EDd^"> <field name="NUM">1</field> </shadow> <block type="math_number" id="Sl=74MEL(o3yp,g%W@+0"> <field name="NUM">3600000</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="BW.#wHB:4bUZ-[*o*DUC"> <field name="VAR" id="xXA4N}Y[o%Z6@RW];`29">Sx</field> <value name="VALUE"> <block type="text_charAt" id=",/4ra}I2xi|axr.oY})O"> <mutation at="false"></mutation> <field name="WHERE">FIRST</field> <value name="VALUE"> <block type="variables_get" id="L/GgPeYugM=y*1(/_W`E"> <field name="VAR" id="kqgBV)H+=vdiHpYdZzA;">SS:mm</field> </block> </value> </block> </value> <next> <block type="variables_set" id="u,F`$:x@lm(KLE*ly8P_"> <field name="VAR" id="$s{:~~)wy32}}UpK+?iF">xS</field> <value name="VALUE"> <block type="text_charAt" id="]-ee*AZ6?)/{/qY#ds~("> <mutation at="true"></mutation> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="SXdp%{*beP/:@u#Q0a+B"> <field name="VAR" id="kqgBV)H+=vdiHpYdZzA;">SS:mm</field> </block> </value> <value name="AT"> <block type="math_number" id="w;HF+X,k}%Af(Aegoc7z"> <field name="NUM">2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="8(_j[)KW/TTv.Y-G[_Xr"> <field name="VAR" id="Pq89//Ky1iK6ZM,wKryo">mx</field> <value name="VALUE"> <block type="text_charAt" id=".YMkXUf6w_mqWYrAEC!u"> <mutation at="true"></mutation> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="pXxI8t77*eS_#jV=n=mg"> <field name="VAR" id="kqgBV)H+=vdiHpYdZzA;">SS:mm</field> </block> </value> <value name="AT"> <block type="math_number" id="Hr/%rtVM!}|Kp!_i19qc"> <field name="NUM">4</field> </block> </value> </block> </value> <next> <block type="variables_set" id="F{7~U5;R1V/uX~mhruyE"> <field name="VAR" id="-?Crl}_E$~f/[?t$NbQ7">xm</field> <value name="VALUE"> <block type="text_charAt" id="Lw;oL7,PMneKYVDor3H="> <mutation at="true"></mutation> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="Ca)sajd_t51v@.1OUKlG"> <field name="VAR" id="kqgBV)H+=vdiHpYdZzA;">SS:mm</field> </block> </value> <value name="AT"> <block type="math_number" id="HYQl05$ZNT8_.kmYHIs]"> <field name="NUM">5</field> </block> </value> </block> </value> <next> <block type="controls_if" id="O;d_;4U:(z*Ah}JRIhti"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="P~xu/=_!MJxV$u}#{#8r"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="jd.B]-db[.g.MfdH}{t~"> <field name="VAR" id="xXA4N}Y[o%Z6@RW];`29">Sx</field> </block> </value> <value name="B"> <block type="math_number" id="69h(tj{dnvc)8uq;jsv0"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="V+ON.Xd)g}JJ43d`$-%X"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> <value name="VALUE"> <block type="text_join" id=",w]X8U8We0#X~:~(!RkM"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="!`R6mK%@z4g*!u^5DW}i"> <field name="VAR" id="xXA4N}Y[o%Z6@RW];`29">Sx</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="shEHe];_h*`nQE}5[iyl"> <field name="VAR" id="$s{:~~)wy32}}UpK+?iF">xS</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="x(XS1vKfQ*.:mjer5qh9"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="dowBh,)V`go:~slt5Lh1"> <field name="VAR" id="$s{:~~)wy32}}UpK+?iF">xS</field> </block> </value> <value name="B"> <block type="math_number" id="GmLJ{nRp,~Dy~MMbFvg}"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id=",Q?lz~omNipo`8`-=O$O"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> <value name="VALUE"> <block type="variables_get" id="^1/d,O!!9E:X_u|Lo#~;"> <field name="VAR" id="$s{:~~)wy32}}UpK+?iF">xS</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_operation" id="Uv{0q{-i$+iM6y^bPckU" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="?W.W~zZ!Y?+CFVFr(Ao]"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="3Xqhl,TZXXn#*lxB)K4d"> <field name="VAR" id="xXA4N}Y[o%Z6@RW];`29">Sx</field> </block> </value> <value name="B"> <block type="math_number" id="y/FAM~^S+1zp2-c.yI/9"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="pz#VC,1Q+[AzjVQ/.#P{"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="1q1Xd9.Ju)4!*`j=qj6T"> <field name="VAR" id="$s{:~~)wy32}}UpK+?iF">xS</field> </block> </value> <value name="B"> <block type="math_number" id="gf|IKkUDjQ4[ky8/Z/Ty"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="1f-8h}jIx%8/Kw,3@?sf"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> <value name="VALUE"> <block type="text" id="K$eFNuycN:itztl@y=ju"> <field name="TEXT"></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="f+6r77=i-hmoJ-Z.yQv8"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="18[#YFfdkGY0?dmJx%gt"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="%{w0+jHLzDXp$NHx-0#W"> <field name="VAR" id="Pq89//Ky1iK6ZM,wKryo">mx</field> </block> </value> <value name="B"> <block type="math_number" id="dM55cL^*7t1Mi,a4~;RG"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="CofoyCAple,iB%WvRZ6V"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> <value name="VALUE"> <block type="text_join" id="LmT!=d5,h0+=J6f^T^O("> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="dkB(A`LRrzAAQ]DVF)$K"> <field name="VAR" id="Pq89//Ky1iK6ZM,wKryo">mx</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="T*b08$WhH9Ncx22GM(-Y"> <field name="VAR" id="-?Crl}_E$~f/[?t$NbQ7">xm</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="_cZ#B9V,-vUA@^^iO7L*"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="d9*5{DuE89hCz2zdKu]O"> <field name="VAR" id="-?Crl}_E$~f/[?t$NbQ7">xm</field> </block> </value> <value name="B"> <block type="math_number" id="{L$Rr(3SUi/gTN4Nsm!k"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="4aA(lNJHA~b2XAC,fdRZ"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> <value name="VALUE"> <block type="variables_get" id="mAT}2[jw};7v}:=yze84"> <field name="VAR" id="-?Crl}_E$~f/[?t$NbQ7">xm</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_operation" id="79!It1TI.1*ia!v!v-L." inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="tf$F}lNpZ,WvokLnW|B8"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="cXoq/m!KH@$xGjM:@)c4"> <field name="VAR" id="Pq89//Ky1iK6ZM,wKryo">mx</field> </block> </value> <value name="B"> <block type="math_number" id="oOMz4*q9gF/yn/BK+9hc"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="UQr{uwC(Z;;HzVS:UDUv"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="n}j+S*1qo7L3iXFc(Eww"> <field name="VAR" id="-?Crl}_E$~f/[?t$NbQ7">xm</field> </block> </value> <value name="B"> <block type="math_number" id="ZvM6pf1xEQs22EZr8p2L"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="T@IlTbX+fhrCo,|=L*I;"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> <value name="VALUE"> <block type="text" id="=l3G8|vHFf}Ul=Zf?fW6"> <field name="TEXT"></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="o^e,iBc~ztsy0wQiYFX,"> <mutation elseif="4"></mutation> <value name="IF0"> <block type="logic_operation" id="DTM;[tdJ2)/oA7~Zl~H_" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="6+oM=qLw{7ZN}D4dK$U("> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="=Et!FF2!DtAdu]Fx60Q$"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="B"> <block type="math_number" id="Fr=c1pYz}_^O!M2^*Mx~"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="WaCiX@_S?{9FLV7pfjg1"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="Ck,F9gQ^OAA*@hqan[{n"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="XmsL1-}K-QP.VMMcn$=o"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="-peP$Rb_ux=RbkAPx[6Q"> <field name="VAR" id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</field> <value name="VALUE"> <block type="text_join" id="e0^0+S6T}3}~%Eu;!|A!"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="p?$cY9HFBR4W%TNXPl*["> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="ADD1"> <block type="text" id="?{H{S6;+O,7Y}M/YK_)u"> <field name="TEXT"> Stunden und </field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="c6i!k7:m0$w4%3#c2UhL" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="gXud7v=fp|*~J:#P=5p0"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="F9/K:rdtoBrE5!~.uBVf"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="B"> <block type="math_number" id="MKs-fnO5nPuJrd-}0@ZV"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Zg6P[QL_YNJc8_OrOt2t"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="l-%1UiNzk=7h8@%Y*Vh7"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="rj3k5/5f@(^4}tF]B3ni"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="J2w3K,Put7Ees6lwNt=i"> <field name="VAR" id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</field> <value name="VALUE"> <block type="text_join" id="$2KKtB],aR.Z`{@kp8Hu"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="1[OY/fSu-#Btq{HWk;zI"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="ADD1"> <block type="text" id=";rNZSf;w)`Gs9==~0}~X"> <field name="TEXT"> Stunden</field> </block> </value> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_operation" id="[]kp(nH4~;w;A`Zg#}1W" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Ci(vFIr2lA#{}fJ0oge3"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="W5-w:YD,DD61n%84CcJq"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="B"> <block type="math_number" id="P4@Pe:uLhc?i@rC?4wpp"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="em7JjXk2HcPSkGb]h_GO"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="J~{yT9h4.Q.86!obW@*z"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="_S^qY1BXNQ*X$Lr+O6h;"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="gcGNWx6UYs9~:gm|x7ba"> <field name="VAR" id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</field> <value name="VALUE"> <block type="text" id="=^(m^zQs{RvRek0f/uEL"> <field name="TEXT">eine Stunde und </field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_operation" id="iP[`1fI1TK_W1$%Pr0(_" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="]$]tlDSLzz{WlA(;FR[L"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="t+~7CeLY4hA_S%A%kZo_"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="B"> <block type="math_number" id="SoVW0Wb#4~,m`!9A=I+Z"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="U8D98$W=`H,Tn1dB{YV}"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="mheNrw+tBF?:Nyl#)LPT"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="wo8P?q;yDR0yx~=ORD2["> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO3"> <block type="variables_set" id="..3M[-g3%pZexix[Iq4u"> <field name="VAR" id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</field> <value name="VALUE"> <block type="text" id="^wOJZ`4Me(mwvxY*?4G!"> <field name="TEXT">eine Stunde</field> </block> </value> </block> </statement> <value name="IF4"> <block type="logic_compare" id="WQhkY~,+h:7Pq-w/PLjv"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id=":`p7I8l)b9rzr.$cDUO~"> <field name="VAR" id="cie_AW:lYl-0|Vg$=#Ry">SS</field> </block> </value> <value name="B"> <block type="math_number" id="3_I1HwWIyGBxD74X?vhc"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO4"> <block type="variables_set" id="`*OQdLJF-`^n0j(3Qd,A"> <field name="VAR" id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</field> <value name="VALUE"> <block type="text" id="OsS6^_@na/r+qBKB1/xh"> <field name="TEXT"></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="M;3^x1;DZpl*7R]Z}E9)"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="v`;=i_qNdg0~:WzIcI9c"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="JwxkCf~L9z%Of^oi,W:A"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="m(2DvUzeC`It-?fUW!oT"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="/a;GRZxsn%}kmq+Fm.wh"> <field name="VAR" id="(;8c}$]Wnc:LQCUib}E.">Alexa mm</field> <value name="VALUE"> <block type="text_join" id="?b]T0qC%S[_}:7?J|/2q"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="fzxck%g0S4iP:nG)j!p9"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="ADD1"> <block type="text" id="wd7%Lv`N;fTL?R5rd6~c"> <field name="TEXT"> Minuten</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="TNxzaikZrx*UmAQFFToK"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="/!Y#IVB4sj7?dj-J#B_E"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="z9j2w4v|!QT).J*?TU.0"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="aO_z]?U:hI.UXx^sVSii"> <field name="VAR" id="(;8c}$]Wnc:LQCUib}E.">Alexa mm</field> <value name="VALUE"> <block type="text" id="!5O0VLse5~7`rF,%3b]4"> <field name="TEXT">eine Minute</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_compare" id="4h3l=zx?t=XAP,EWT[U("> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="QbVkPkUbCrqsAN9B$A3U"> <field name="VAR" id="Liwm(|:7UsM{E+Xuw3k|">mm</field> </block> </value> <value name="B"> <block type="math_number" id="`x|sF#ev%Gtb4(?fS@a$"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="rJqmS*VE+bm(7oQ7BrTX"> <field name="VAR" id="(;8c}$]Wnc:LQCUib}E.">Alexa mm</field> <value name="VALUE"> <block type="text" id="Ak_xtmv]S3]I5#a*Oa[6"> <field name="TEXT"></field> </block> </value> </block> </statement> <next> <block type="debug" id="+%3H}`j%WEZ!M9!Rj.!r"> <field name="Severity">error</field> <value name="TEXT"> <shadow type="text" id=";WN!{|;*!HgN=:x=/uA|"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="0[7;[JqO`eRX=jh|GBjE"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="ZUHu+Pf:UF`0Q.*uoMIs"> <field name="VAR" id="Cx-lu5n}V=Ho:x6#G]xh">Alexa SS</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="taDxPmD!@vE_FEPxQuBs"> <field name="VAR" id="(;8c}$]Wnc:LQCUib}E.">Alexa mm</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
Anstelle von Debug nimmst Du einfach
den Speakdatenpunkt deines Echoseinen eigenen Datenpunkt als String.
Und den Trigger natürlich auch ändern. -
@djmarc75 danke, werde ich mir heute abend mal angucken. Ich habe es erts einmal über Blockly so gelöst :
Es ist nicht schön, aber geht erts einmal. -
-
@paul53 Cool danke, sieht erst mal gut aus. Muss ich heute abend mal testen. Ich muss mich echt mal mit Variablen beschäftigen.