@liv-in-sky
Screenshot 2022-05-03 200033.png
Ist sicherlich ausbaufähig aber schon ziemlich brauchbar denke ich...
Hier das Blockly...
Spoiler
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="/:J5%/o5dpVdjs$f_#%,">summaryText</variable>
<variable id="K[;JE-;Gfb9$^9,[fiF/">DeviceS/N</variable>
<variable type="timeout" id="deblockieren">deblockieren</variable>
<variable id="+EeeV7#fmKmI.!bw7u#/">DeviceName</variable>
<variable id="UFxK%+XGeLufu7z/l1X5">Timer erkannt</variable>
<variable type="timeout" id="timer stoppen">timer stoppen</variable>
<variable type="timeout" id="timer übergeben">timer übergeben</variable>
</variables>
<block type="on_ext" id="ZO1_]@id|4SRd}ntxZ`e" x="-1237" y="-387">
<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="W%y.s~ZLXqFbta?GOvHp">
<field name="oid">alexa2.0.History.summary</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="=eYE0b%7TBe6_PKrp$v5">
<field name="VAR" id="/:J5%/o5dpVdjs$f_#%,">summaryText</field>
<value name="VALUE">
<block type="on_source" id="j!3g4m6-;Qem=!dg(gW0">
<field name="ATTR">state.val</field>
</block>
</value>
<next>
<block type="variables_set" id="ZVeD;PzmyGu@fG7Ocasx">
<field name="VAR" id="K[;JE-;Gfb9$^9,[fiF/">DeviceS/N</field>
<value name="VALUE">
<block type="get_value" id="W-_M(aXxg!$}lE,Iwi*U">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.serialNumber</field>
</block>
</value>
<next>
<block type="variables_set" id="BmCAK!F4rORH`^AdyJo7">
<field name="VAR" id="+EeeV7#fmKmI.!bw7u#/">DeviceName</field>
<value name="VALUE">
<block type="get_value" id="fxwP;H.$D-^-6E7Bo_iT">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.name</field>
</block>
</value>
<next>
<block type="controls_if" id="4S46mzWk;a^w?iV:go~M">
<value name="IF0">
<block type="logic_operation" id="A;(=B7ym[j1KycZwGt+e" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_operation" id="`eE7N9j8pf:4$h|.^9)O" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="y{O~/v71^kl(v?eUfN.6">
<field name="OP">GT</field>
<value name="A">
<block type="text_indexOf" id="#^-}/3^[9g:#MSJg2P(%">
<field name="END">FIRST</field>
<value name="VALUE">
<block type="variables_get" id="JPrV3SNnga3u6U8@iu-B">
<field name="VAR" id="/:J5%/o5dpVdjs$f_#%,">summaryText</field>
</block>
</value>
<value name="FIND">
<shadow type="text" id="qQ@cVAZZM{DHsR~un%RA">
<field name="TEXT">stelle</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="wv50o_l}Z|v?T]-YiRJL">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="A^qmA~)_:M6VM(UfCanW">
<field name="OP">GT</field>
<value name="A">
<block type="text_indexOf" id="Nv@+p16BF6ALM!)fTvt%">
<field name="END">FIRST</field>
<value name="VALUE">
<block type="variables_get" id="/f|u[f.OU=21EMi=H:0f">
<field name="VAR" id="/:J5%/o5dpVdjs$f_#%,">summaryText</field>
</block>
</value>
<value name="FIND">
<shadow type="text" id="3nTC#*W$YrK:W^b]y(R%">
<field name="TEXT">timer</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="gBN14CM*g.rKe$tl[RS8">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="unRtA][IXa47Nl!ZWs54">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Q@3a/f/|0,)nL63@v7H:">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Alexa.Devices.Summary_blockiert</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="9V$a(,gh:8G_;4376m3`">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="N*dPHnI,.3oZxrat9%}[">
<field name="COMMENT">Summary-Abfrage blockieren durch Boolean</field>
<next>
<block type="control" id="(u_{ew=|G87Lcl};!3@H">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Alexa.Devices.Summary_blockiert</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="%8MNo0h=wg3j#CddPx3T">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id="-d}1]jF%{lJ/,U}D1^vf">
<field name="VAR" id="UFxK%+XGeLufu7z/l1X5">Timer erkannt</field>
<value name="VALUE">
<block type="variables_get" id="gY.)xIKtgK[-36rQd%$p">
<field name="VAR" id="/:J5%/o5dpVdjs$f_#%,">summaryText</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="2b_2XOPE(r(Ir@NHLAHQ">
<field name="NAME">timer stoppen</field>
<field name="DELAY">2000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="comment" id="MNm),JEV5Ci4|`%|CM#K">
<field name="COMMENT">Timer löschen</field>
<next>
<block type="control_ex" id="l|~9;@x![8jLSrHmMk[~">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="XOd8,ze}d.[)(0-r0EW]">
<field name="oid">Object ID</field>
</shadow>
<block type="text_join" id="(NWLp^9Y2xDuxLt]C+Sx">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="BB=dmE6*fFhC3[5zDM7k">
<field name="TEXT">alexa2.0.Echo-Devices.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="xIR@`,oT[/^aLY!kg?#Z">
<field name="VAR" id="K[;JE-;Gfb9$^9,[fiF/">DeviceS/N</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="l{FTT|=I%gvP?--;%uXU">
<field name="TEXT">.Commands.textCommand</field>
</block>
</value>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="a{7Ai#_3V6iaxJcAo;E*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text" id="$gn![hOv~eEaq81k[}1Q">
<field name="TEXT">stoppe timer</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="Ugn*$K~y|qI7VSHnXu;)">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="timeouts_settimeout" id="@qa/QwdtJg7*~I@U-6sB">
<field name="NAME">timer übergeben</field>
<field name="DELAY">5000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="comment" id="C*;L6(iVzA$p2~YQ(Y+m">
<field name="COMMENT">Timer übergeben</field>
<next>
<block type="control_ex" id="=~LdXwaoojliGXBgfuis">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="Tx3gA8,SGv}:Sh7[Z/3o">
<field name="oid">Object ID</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="54@iR4G9!%z_8Yb%Jj[.">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="=,__kqcGx5DSH2X;DBLH">
<field name="VAR" id="UFxK%+XGeLufu7z/l1X5">Timer erkannt</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="?IMWa*uo*~ApzsC^7@dj">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
<block type="on" id="+mrb(8yi!ZL?v+V9u[0v" x="-763" y="212">
<field name="OID">0_userdata.0.Alexa.Devices.Summary_blockiert</field>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="comment" id="y1}0A88fO(JNi]@H$Pj[">
<field name="COMMENT">Summary-Abfrage freigeben</field>
<next>
<block type="timeouts_settimeout" id="U/2EL4zDV%R$y%Xab?YJ">
<field name="NAME">deblockieren</field>
<field name="DELAY">10000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="control" id="F8n{y:!y!##[77?C2af,">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Alexa.Devices.Summary_blockiert</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="P-kHG{Z1rt0!ak=G01~]">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
<block type="comment" id="kLLvQ18IbE(!kwr:[*TJ" x="-962" y="387">
<field name="COMMENT">Ziel-ECHO textCommand</field>
</block>
</xml>