<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="2#?=HUpLTT$eCm#^Cj^k">bt_mac</variable>
<variable id="{s5Hg!;@PoQltI]d/hNm">alexa_id</variable>
<variable id="VbF#NOV:zieu}T6,G}ja">alexa_bluetooth</variable>
<variable id="euZ0euMjCp!SQSGxS|/(">alexa_play</variable>
</variables>
<block type="comment" id=";E]=utd;aBhuJT5h|_7+" x="63" y="13">
<field name="COMMENT">BT Mac Adresse : XX:XX:XX:XX:XX:XX</field>
<next>
<block type="variables_set" id="4XQ5tGnz$f?CxCSa8N|`">
<field name="VAR" id="2#?=HUpLTT$eCm#^Cj^k">bt_mac</field>
<value name="VALUE">
<block type="text" id="Z.g+XE)F{kH`eH@~9N|4">
<field name="TEXT">XX:XX:XX:XX:XX:XX</field>
</block>
</value>
<next>
<block type="comment" id="!27MjWI8mTx4X%9RjMDu">
<field name="COMMENT">alexa id mit adapter: alexa2.X.Echo-Devices.XXXXXX</field>
<next>
<block type="variables_set" id="FcUbWoC_fASKa.`Jo3Ht">
<field name="VAR" id="{s5Hg!;@PoQltI]d/hNm">alexa_id</field>
<value name="VALUE">
<block type="text" id=":nRR_V*%2|+$@A1JrfKj">
<field name="TEXT">alexa2.0.Echo-Devices.XXXXXX</field>
</block>
</value>
<next>
<block type="variables_set" id="Y78TcY`:ZL%b^di61Y:Z">
<field name="VAR" id="VbF#NOV:zieu}T6,G}ja">alexa_bluetooth</field>
<value name="VALUE">
<block type="text_join" id="8?l%d/;]-A:fZlRaI+ru">
<mutation items="4"></mutation>
<value name="ADD0">
<block type="variables_get" id=";t^D2ly2qc-|09TvHZ+h">
<field name="VAR" id="{s5Hg!;@PoQltI]d/hNm">alexa_id</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="{De09qBN,~H|$|}Rp5uW">
<field name="TEXT">.Bluetooth.</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="0a#A_Z2$O{BtFB*;8/NK">
<field name="VAR" id="2#?=HUpLTT$eCm#^Cj^k">bt_mac</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="T!3O5|%Xz:2dZ|kS$JHH">
<field name="TEXT">.connected</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="dKX8*!m|9s;bi9Q$Rx26">
<field name="VAR" id="euZ0euMjCp!SQSGxS|/(">alexa_play</field>
<value name="VALUE">
<block type="text_join" id="#p):0EiRC.pL`Xi~v3,K">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="variables_get" id="PaPf.1zRzYQjk}vUg|B=">
<field name="VAR" id="{s5Hg!;@PoQltI]d/hNm">alexa_id</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="~tJ_qjRTEw4G_vu0kqFI">
<field name="TEXT">.Player.currentState</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="98B1M[?a1CoP!sF-L(@G">
<field name="Severity">debug</field>
<value name="TEXT">
<shadow type="text" id="v*~L15432GMc02gfsbLq">
<field name="TEXT">test</field>
</shadow>
<block type="variables_get" id="Oe%rb57+#JeOi,OwiSPC">
<field name="VAR" id="euZ0euMjCp!SQSGxS|/(">alexa_play</field>
</block>
</value>
<next>
<block type="debug" id="Ze})*U8J6b]v_.8m2Aca">
<field name="Severity">debug</field>
<value name="TEXT">
<shadow type="text" id="X+CBPEIVzEvovY,+$kWH">
<field name="TEXT">test</field>
</shadow>
<block type="variables_get" id="d=%MvyQ%3uU.el.c7KM)">
<field name="VAR" id="VbF#NOV:zieu}T6,G}ja">alexa_bluetooth</field>
</block>
</value>
<next>
<block type="on_ext" id="#N}zAV6anUc#[:v,)eZg">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="AHV!S$%EWY$,03eX9q-6">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="m*4;wo-S[u:v@9wHPTc_">
<field name="VAR" id="VbF#NOV:zieu}T6,G}ja">alexa_bluetooth</field>
</block>
</value>
<value name="OID1">
<shadow type="field_oid" id="U$PR:yh|=!W_;s1i;Qa~">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="9Aqy7).hr8Fim^X;/n,2">
<field name="VAR" id="euZ0euMjCp!SQSGxS|/(">alexa_play</field>
</block>
</value>
<statement name="STATEMENT">
<block type="debug" id="HNd0vZfM2a_n~!~q#UNI">
<field name="Severity">debug</field>
<value name="TEXT">
<shadow type="text" id="W0vM}nbL}V#tA:ZR,W~N">
<field name="TEXT">alexa trigger ausgefürt</field>
</shadow>
</value>
<next>
<block type="control_ex" id="qfx!5.E{fW.-uO/p4@@4">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">TRUE</field>
<value name="OID">
<shadow type="field_oid" id="jRc:C*o%h)Z**3Ee9ohZ">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="Q(?4]zI`sTZB01TFJcm9">
<field name="VAR" id="VbF#NOV:zieu}T6,G}ja">alexa_bluetooth</field>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="NOhvf3f1%`rK2jznD1N%">
<field name="BOOL">TRUE</field>
</shadow>
<block type="get_value_var" id="sslaLY=G//Z=U?BTNBW/">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="Cv_P=UFbq87KAazF7@up">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="VpBnn[6fZSvm{F]l6%{~">
<field name="VAR" id="euZ0euMjCp!SQSGxS|/(">alexa_play</field>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="TFs(9lLe`DCW1!7B}yI;">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>