Heute möchte ich euch Mal zeigen wie Ihr eure ALEXA, in meinem Fall ein Amazon Echo Dot, von allein sprechen lassen könnt, also ohne das wir sie ansprechen. Das ganze funktioniert über ioBroker.
****************************************************************
✪ Amazon Echo Dot (falls Ihr noch keinen habt)
✪ Raspberry Pi Starter Kit (für ioBroker)
✪ Coole Gadget Deals bei GearBest
https://de.gearbest.com/?lkid=15055908
****************************************************************
Hier kommt Ihr zum Alexa2 Adapter für ioBroker...
https://github.com/Apollon77/ioBroker.alexa2
Hier kommt Ihr zum ersten Tutorial zu dem Adapter...
Hier nochmal das ioBroker installations Tutorial...
****************************************************************
Hier natürlich noch der Code von meinem Test Script...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="#dU%bHFVm/~[XFv;e5M5" x="-412" y="-337">
<mutation items="6"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="luObs(yNi=oW98s~lUkF">
<field name="oid">mihome.0.devices.cube_158d000110819c.rotate_left</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="|X5zwhq%~Zkbz~1R0r1^">
<field name="oid">mihome.0.devices.cube_158d000110819c.flip90</field>
</shadow>
</value>
<value name="OID2">
<shadow type="field_oid" id="Ig5d`gN3)^t%EXeY.S-Z">
<field name="oid">mihome.0.devices.cube_158d000110819c.shake_air</field>
</shadow>
</value>
<value name="OID3">
<shadow type="field_oid" id="lkE{jhvkV[j=uBCI~?Qz">
<field name="oid">mihome.0.devices.cube_158d000110819c.rotate_right</field>
</shadow>
</value>
<value name="OID4">
<shadow type="field_oid" id="VIGW@z{]TXGAO%jB2m}|">
<field name="oid">mihome.0.devices.cube_158d000110819c.flip180</field>
</shadow>
</value>
<value name="OID5">
<shadow type="field_oid" id="9,{v/PdNWSe]EShJNC4i">
<field name="oid">mihome.0.devices.cube_158d000110819c.tap_twice</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="neHP4j)Y]E7bjdkF!Wyt">
<value name="IF0">
<block type="logic_compare" id="W:Aj9mKtOuQGXD/!hHAB">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="b%GwVa3B*nesFd7,9(Qm">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.rotate_left</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="fp)TRM[Pf[*IsJM!%TsJ">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=";~dObE0eS/jB{C*bPIN9">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Player.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="sKr(c7vJV);7c*K%oALt">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.rotate_position</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="-~N|^SYc[!CTK[TPcQzH">
<value name="IF0">
<block type="logic_compare" id="H9+rQUM=TpWly3DBM_~A">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="I5Q}-gdcBy5M)^%!Ndze">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.rotate_right</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="BxN3`-GfmKb8{,UE=S_^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=".)JE~M9l.QkAjvlo(MV,">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Player.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="m4Jqa{;V`nf^si!Ttjva">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.rotate_position</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id=",9_Nr-P-{%Fd+Tc0-=Nu">
<value name="IF0">
<block type="logic_compare" id="=(DbOS78=0MBQe=F%*.D">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="DpgzqNoWjD?gGY|.nPM_">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.flip90</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="DkzF1(|Ey=3{V,DFkJfD">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="R*!kKkNLS,,7%@yid/)[">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="4%AtCh@rJ(yc:t*(_~!r">
<field name="TEXT">Hallo und Herzlich willkommen meine Ladys und dschenntelnörds, ich hoffe sehr das euch dieses Video gefällt, wenn Ja dann gebt dem Video ein Daumen nach oben</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="T%b0W^#l-ZWU%w^7]WQ/">
<value name="IF0">
<block type="logic_compare" id=".`5XJGz4u6:p[#j+uoBh">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="Tc#Gzin|@s,p7.86ILp/">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.shake_air</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="sH3Sm+bH^3l}+?.kIlZ*">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="Z5Mtuz[=Qey@=8+o9=LA">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="-!?cr_WS}IK!;yZC2`!a">
<field name="TEXT">Hey! was schüttelst du den armen schaumii Würfel so herum? Der hat dir doch garnichts getan!</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="W|nOmNk7Ri}Fs|:3bNvo">
<value name="IF0">
<block type="logic_compare" id="Nq,pYQn=QZIL]h`|k!{R">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="VfAn.8Ks0/7;o3resSQV">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.tap_twice</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="|36:z7/2Lb=#qES!gYLY">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="ItYQsZ^9b.=S/l0bWzU?">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id=",K`3%4I8x5:BN~@iTynJ">
<field name="TEXT">Wer Klopft?... Nein Spaß ich weiß zwei Mal Klopfen heißt du möchtest das ich Singe</field>
</block>
</value>
<next>
<block type="control" id="6O*8e-jZ%U*?}lv?Qj}y">
<mutation delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Commands.singasong</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">6</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="mSyn@8-EZ?3gecWR_w~}">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="?jy5dedv*E!QXGSi|NNj">
<value name="IF0">
<block type="logic_compare" id=",%MaGZBY;oBO^b*3c`^W">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="3iLCScaw~~5;AaE5*7}f">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.flip180</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=",BhqR-}WbG#ZGZ#Fs{1x">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="XQhqNoerd!ecfy7RzOxC">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF11803506VN.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="!Aum5.RFDP0r07cF=,)}">
<mutation items="7"></mutation>
<value name="ADD0">
<block type="text" id="vY3Y_`Q9y;q1]pt|WI;R">
<field name="TEXT">Denkst du bitte daran morgen den Müll raus zu bringen, übrigens sind es in deinem YouTube Studio gerade</field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id="bsS=yj1t~Vc2P0`jE5JR">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.weather_v1_158d000201b6c9.temperature</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="kO2SG-{-Mw})6_fd[VS:">
<field name="TEXT">Grad warm, dein Stromverbrauch liegt im grünen Bereich, du hast in der letzten Woche</field>
</block>
</value>
<value name="ADD3">
<block type="get_value" id="8t_p]:_)!R9;sI][zBBJ">
<field name="ATTR">val</field>
<field name="OID">mqtt.0.Stromzaehler.Zaehler_Dennis.Wochenzähler</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="ZWWX;Xl2Ql`2aoV:]JPs">
<field name="TEXT">Kilowattstunden verbraucht was umgerechnet etwa</field>
</block>
</value>
<value name="ADD5">
<block type="math_round" id="WKg9lL)Jf/DrxuKr3#Gu">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id=":_iIZY/ByCM26y31[Qhj">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="CQp9d-?#K3P[JaLhoXRT">
<field name="ATTR">val</field>
<field name="OID">mqtt.0.Stromzaehler.Zaehler_Dennis.Preis_Woche</field>
</block>
</value>
</block>
</value>
<value name="ADD6">
<block type="text" id="7s2wu2wzohHT:*OK%Ic5">
<field name="TEXT">Euro entspricht. Weiter so</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Ich hoffe das ich euch mit diesem Beitrag wieder etwas weiter helfen konnte