Hier mein Review zum Xiaomi Yeelight LED Stripe (SmartHome Leuchtmittel) und mein Tutorial wie man diesen in den ioBroker integrieren kann dank dem neuen Yeelight Adapter, der unglaublich gut funktioniert. Den Yeelight LED Stripe in den ioBroker einzubinden eröffnet einem viele Möglichkeiten diesen für Individuelle Zwecke im eigenen SmartHome zu nutzen. Zum Beispiel, Einbindung in Alexa, Siri (Apple HomeKit) und über IFTTT sogar mit dem Google Home oder eben Automatisierung mit den verschiedensten SmartHome Sensoren, zum Beispiel dem Xiaomi Magic Cube.
********************************************************************
Xiaomi Yeelight LED Stripe
https://de.gearbest.com/smart-…wid=1640583&lkid=14112128
Optional...
Xiamo Gateway
https://www.gearbest.com/livin…344667.html?lkid=13908916
Xiaomi Magic Cube
https://de.gearbest.com/living…364494.html?lkid=13908920
********************************************************************
Hier geht es zum Xiaomi Yeelight Adapter für ioBroker
https://github.com/MeisterTR/ioBroker.yeelight
********************************************************************
Hier mein Beispiel Script aus dem Video...
<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="-~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="logic_operation" id="+SU99~P};R!O?s-(scra">
<field name="OP">OR</field>
<value name="A">
<block type="get_value" id="^Rh:Rf7iTKm+b[[DYHdS">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.cube_158d000110819c.rotate_left</field>
</block>
</value>
<value name="B">
<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>
</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="j*0?O6@k8zXJWBhf,E{-">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.active_bright</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="ogc{OH[aGG9?M]Cz`A7W">
<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">yeelight.0.stripe_0x0000000004cdb91c.rgb</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="4%AtCh@rJ(yc:t*(_~!r">
<field name="TEXT">#000cff</field>
</block>
</value>
<next>
<block type="control" id="7wOgFVW/5}RyS}Tsfr`G">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="#4C;ew#;!vgsy,B(P%Uz">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</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="GMFizRUT:N0*[sm//5C7">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="uM4K3}(TzBBGgS:EBNJq">
<field name="BOOL">FALSE</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="|DLqeKZy?:%(GP+|R;CA">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.rgb</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id=",K`3%4I8x5:BN~@iTynJ">
<field name="TEXT">#26ff00</field>
</block>
</value>
<next>
<block type="control" id="m6.ck5b`ol;yUn9)hBs*">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="TV7.E*ef)pBpHf#s0`P.">
<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="?l@4Bn7S(^Ed^-loZuO^">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.rgb</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="1MI}0}SU9P=%6Kb)b4[w">
<field name="TEXT">#ff0000</field>
</block>
</value>
<next>
<block type="control" id="r*axzx{?XXlo*DE)VVGo">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.stripe_0x0000000004cdb91c.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="|x(Rj|i/SziXlG:aGU[Q">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Alles anzeigen