Wie ihr eure Infrarotheizung ganz einfach smart machen könnt mit Sonoff POW, zeige ich euch in diesem Video, mit Script um das ganze auch mit ALEXA steuern zu können. Das ganze ist günstig, einfach Umzusetzen und effizient, sprich man spart Geld weil man Strom spart, denn geht die Tür oder das Fenster auf, schaltet die intelligente Heizung ab.
Hier meine Verwendeten Utensilien...
Infrarotheizung (600 Watt) = http://amzn.to/2mtlbfa?tag=schimmermedia-21
Sonoff POW = http://amzn.to/2mtwkfS?tag=schimmermedia-21
Raspberry Pi = http://amzn.to/2AO7yMw?tag=schimmermedia-21
Raspberry Pi Lüfter Gehäuse = http://amzn.to/2Dj8X0z?tag=schimmermedia-21
FTDI Programmer = http://amzn.to/2CYTGoO?tag=schimmermedia-21
Xiaomi SmartHome Kit (Aqara)
https://www.gearbest.com/alarm-systems/…l?lkid=12417494
Xiaomi Temperatur & Luftfeuchtigkeits Sensor (Aqara)
https://www.gearbest.com/access-control…l?lkid=12417513
Xiaomi Tür/Fenster Sensor (Aqara)
https://www.gearbest.com/access-control…l?lkid=12417519
Und hier das versprochene Script, welches ihr einfach in euer Blockly einfügen und bearbeiten könnt...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="%tv{/[/n|fUutv48diwo" x="-937" y="13">
<mutation items="3"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="pCj/0!d3pYe*MQ=rw#r]">
<field name="oid">mihome.0.devices.magnet_158d0001f2b6d9.state</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="bS/C?4FN6OTO.|XqT[0x">
<field name="oid">mihome.0.devices.weather_v1_158d0001b95f50.temperature</field>
</shadow>
</value>
<value name="OID2">
<shadow type="field_oid" id="}F5m%8nFSR,LbZ@RkdnB">
<field name="oid">sonoff.0.Sonoff-POW-Küche-Infrarot.Temperaturwunsch_Küche</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id=",9_Nr-P-{%Fd+Tc0-=Nu">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="logic_compare" id="MNNrFZahBq|5K~FZfYHp">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="XZp{,?X0!(*a71q)beRo">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.magnet_158d0001f2b6d9.state</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="-FJvybG#SS,uMzCX7M;+">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="yqyhuXocO:cEP276=y0k">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Küche-Infrarot.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="?Yy^SRvnoO^nyINrf*]#">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id=";_i]cfZdrmL/qXWB6PuO">
<field name="OP">LTE</field>
<value name="A">
<block type="get_value" id="05hB:}da}@CQX_^vBlC@">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.weather_v1_158d0001b95f50.temperature</field>
</block>
</value>
<value name="B">
<block type="get_value" id="/+URQdwg1iM]^-+riA3J">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Sonoff-POW-Küche-Infrarot.Temperaturwunsch_Küche</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="}6;6~]L4/!BY.JwxYt#d">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Küche-Infrarot.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="PDGjw4AYy[^(T_9;v]R|">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<value name="IF2">
<block type="logic_compare" id="X;DwL2M+ET^tv5jB0m5?">
<field name="OP">GT</field>
<value name="A">
<block type="get_value" id="-jjxx-8Ad8=RmIUF48S|">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.weather_v1_158d0001b95f50.temperature</field>
</block>
</value>
<value name="B">
<block type="get_value" id="Y:r]__,A;:^cXsYg=]P=">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Sonoff-POW-Küche-Infrarot.Temperaturwunsch_Küche</field>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="control" id="uH=y!(uzpe!@XAo-?a[!">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Küche-Infrarot.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="Cv3*g6JYM@.+K?u|6L^!">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Solltet Ihr auch alle Heizungen auf Einmal steuern wollen so wie ich dann hier noch das Script welches Alle Heizungen dann zusammenfasst...
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="SvQF-xw_d_H?O4E4NK7)" x="-412" y="-187">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="egshZa7qjc4ydb`Y.Y3_">
<field name="oid">sonoff.0.Heizung_Wunschtemperatatut</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="control" id="6{EKe+`02OfFnx^R^X.S">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Schlafzimmer-Infrarot.Temperaturwunsch_Schlafzimmer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="M%`[~MGcFHj}Ut@1k)Fd">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Heizung_Wunschtemperatatut</field>
</block>
</value>
<next>
<block type="control" id="MCU~K;ogG0Lq7@@l(d-0">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Küche-Infrarot.Temperaturwunsch_Küche</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="dVrXcj@41M5d-Z6o,3[,">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Heizung_Wunschtemperatatut</field>
</block>
</value>
<next>
<block type="control" id="Y%|{+Gi-sz#t!|+)qLSF">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Billardzimmer-Infraro.Temperaturwunsch_Billardzimmer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="k%V?YE[Y-tCkK|,jAsnT">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Heizung_Wunschtemperatatut</field>
</block>
</value>
<next>
<block type="control" id="IOq;h%E}k,M.AYT?+}V;">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-POW-Gaestezimmer-Infrarot.Temperaturwunsch_Gästezimmer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="get_value" id="BzG176fF6usl)VvBH!vI">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Heizung_Wunschtemperatatut</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Viel Spaß beim nach basteln und ein Preiswertes SmartHome wünsche ich euch allen