@Uli977 sagte in Alexa, spiele WDR2 im Wohnzimmer :
@dslraser Sehr sehr geil! Genau so wollte ich es... DANKE dir!
Was ist den radio fritz... ein guter Sender? Kenne ich gar nicht
Radio Fritz ist ein Berliner Sender
Ausschalten geht auch über diesen Weg. Auch ohne Routine und Button.
Hier nochmal das gesamte Blockly. (ohne Harmony)
Blockly Export
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="87" y="12">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
<field name="oid">alexa2.0.History.summary</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
<value name="IF0">
<block type="logic_operation" id="Y)6]`Q9xcctJsNJ*n2Xk" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id=":Mph^k)JrtbItY5v+-w#" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="Fy6yYtFUO7Y@^J,~(`wR">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="*?.PBWtjh,9}H1NG%6O9">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="|]`u@Mv~9eR).$#v+RDX">
<field name="TEXT">spiele n. d. r. zwei im wohnzimmer</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="Gv;QzXO,u*z39MJJ{1ir">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="RhXIZNAkv7%U*yXC)+SO">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="BST3m|13cQ/vS-08xQq.">
<field name="TEXT">spiele radio s. a. w. im Wohnzimmer</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="4,ey-=V$-9h74l}qsGEh" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id=":fQ~X*n=JWP!Dqk?f7`h">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="q|N4[Pd:E%cgz_?4QtaM">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="le]p7]}?#t^`]{7qg=;=">
<field name="TEXT">spiele w. d. r. zwei im wohnzimmer</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="i)=,{~bT!8w7%Amp=**N">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="1CRKsakAOFQ59X0KxbC5">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="O|6g(Q.fGyP?CA.*|_rB">
<field name="TEXT">spiele radio fritz im wohnzimmer</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
<field name="oid">alexa2.0.History.summary</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
<value name="IF0">
<block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="S-8g!7ijnQNnn4vYw6zg">
<field name="TEXT">radio im wohnzimmer aus</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
<field name="TEXT">mach die kiste aus</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="G44K%t.cT$qWm]`g6$cu">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</xml>
Edit: ich muß noch zusätzlich meinen AVR ausschalten, weil der sonst an bleibt