Mit dem neuen Alexa2 Adapter für ioBroker können wir nun endlich ALLE SmartHome Geräte die Alexa Kompatibel sind auch in unsere SmartHome Zentrale integrieren und somit Hersteller unabhängig ALLE Geräte von einem Hersteller auf die Geräte eines anderen Herstellers reagieren lassen. Außerdem können wir über ALEXA Daten aus unserer SmartHome Zentrale abfragen. Mega Cool
****************************************************************
✪ 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
****************************************************************
Und hier natürlich meine ganze beispiel Scripts...
Terrassen Rollo Auro Script...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="NUagg%u4Uu1{rA8C[o%z" x="13" y="13">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="}0*NU#x2*`;WIrjSY6Oj">
<field name="oid">mihome.0.devices.magnet_158d0001f2b6c5.state</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id=",3[C%N-Ir!U6GDaBcl=S">
<value name="IF0">
<block type="logic_compare" id="5n+Ku[+AP.,wW*{zv_7_">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="H}j=(UX!6].zOPk[(6c2">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.magnet_158d0001f2b6c5.state</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="lQ/IXnXc:CKFHri7;uy^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=")M^jLcZ!hCpj,X={-`nV">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF1072071211.Routines.238164a7-987a-4f53-8c5c-d15518aec05b</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="/[X|)12Y@`%5?|_^*X.J">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id=".[}h[gY@-w2yAed8vSH;">
<mutation delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF1072071211.Routines.238164a7-987a-4f53-8c5c-d15518aec05b</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">3</field>
<field name="UNIT">min</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="ad12CVQ%|+=c8xO2BkUX">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Markisen Regen Script...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="NUagg%u4Uu1{rA8C[o%z" x="13" y="13">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="}0*NU#x2*`;WIrjSY6Oj">
<field name="oid">mihome.0.devices.cube_158d000110819c.shake_air</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id=",3[C%N-Ir!U6GDaBcl=S">
<value name="IF0">
<block type="logic_compare" id="5n+Ku[+AP.,wW*{zv_7_">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="H}j=(UX!6].zOPk[(6c2">
<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="lQ/IXnXc:CKFHri7;uy^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=")M^jLcZ!hCpj,X={-`nV">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF1072071211.Routines.f89b07c2-6402-433f-b99a-fed9995669b2</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="/[X|)12Y@`%5?|_^*X.J">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="MG*enh*SB:@H0R5J-h*x">
<mutation delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF1072071211.Routines.f89b07c2-6402-433f-b99a-fed9995669b2</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">3</field>
<field name="UNIT">min</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="n}j#88TVsV+u@YT|o6jn">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Temperaturabfrage Script...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="NUagg%u4Uu1{rA8C[o%z" x="-112" y="-212">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="}0*NU#x2*`;WIrjSY6Oj">
<field name="oid">javascript.0.Temperaturabfrage</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id=",3[C%N-Ir!U6GDaBcl=S">
<value name="IF0">
<block type="logic_compare" id="5n+Ku[+AP.,wW*{zv_7_">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="H}j=(UX!6].zOPk[(6c2">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Temperaturabfrage</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="lQ/IXnXc:CKFHri7;uy^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=")M^jLcZ!hCpj,X={-`nV">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF1072430J8J.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="4?k[0reCRn.mjkxHg41~">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="75Z)Wn`YF@;38~bIM;pA">
<field name="TEXT">Die Temperatur in der Wohnung beträgt aktuell </field>
</block>
</value>
<value name="ADD1">
<block type="math_round" id="jkM`f:!~D@zng:%Y@/+?">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="6RI_^=Z2);{HemC]{Hbk">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="Vh/8rxU]yD!3mT}0y[eC">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.weather_v1_158d0001f52f79.temperature</field>
</block>
</value>
</block>
</value>
<value name="ADD2">
<block type="text" id="xan5V_pWE5im/[jf}LK/">
<field name="TEXT"> Grad</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Stromverbrauch Abfrage Script...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="NUagg%u4Uu1{rA8C[o%z" x="-87" y="-212">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="}0*NU#x2*`;WIrjSY6Oj">
<field name="oid">javascript.0.Stromverbrauch_Abfrage</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id=",3[C%N-Ir!U6GDaBcl=S">
<value name="IF0">
<block type="logic_compare" id="5n+Ku[+AP.,wW*{zv_7_">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="H}j=(UX!6].zOPk[(6c2">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Stromverbrauch_Abfrage</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="lQ/IXnXc:CKFHri7;uy^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=")M^jLcZ!hCpj,X={-`nV">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF1072430J8J.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="4?k[0reCRn.mjkxHg41~">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="75Z)Wn`YF@;38~bIM;pA">
<field name="TEXT">Du hast in der letzten Woche </field>
</block>
</value>
<value name="ADD1">
<block type="math_round" id="jkM`f:!~D@zng:%Y@/+?">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="6RI_^=Z2);{HemC]{Hbk">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="Vh/8rxU]yD!3mT}0y[eC">
<field name="ATTR">val</field>
<field name="OID">mqtt.0.Stromzaehler.Zaehler_Dennis.Wochenzähler</field>
</block>
</value>
</block>
</value>
<value name="ADD2">
<block type="text" id="xan5V_pWE5im/[jf}LK/">
<field name="TEXT"> Kilowatt an Strom verbraucht, dies entspricht einem Wert von </field>
</block>
</value>
<value name="ADD3">
<block type="math_round" id="]_T:t(WW9`]46Pmd~}#+">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow type="math_number" id="6RI_^=Z2);{HemC]{Hbk">
<field name="NUM">3.1</field>
</shadow>
<block type="get_value" id="4k}k/x][Mj+V]y5;-`I{">
<field name="ATTR">val</field>
<field name="OID">mqtt.0.Stromzaehler.Zaehler_Dennis.Preis_Woche</field>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="kf%I2ChnC8q9x?bNpl98">
<field name="TEXT"> Euro</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen