Hi, genau, für das Einschalten müsstest du kleiner als 10 Grad wählen und nicht größer
Für deinen zusätzlichen Sensor würde ich so vorgehen.
Code
- <xml xmlns="http://www.w3.org/1999/xhtml">
- <block type="comment" id="[!4UC_`Rya{~hxv-@9i8" x="-437" y="-161">
- <field name="COMMENT">Gucken ob was passiert</field>
- <next>
- <block type="on" id="^T5-6l?3LNzjWTZ{OVq8">
- <field name="OID">sonoff.0.Garage-Temperatur.SI7021_Temperature</field>
- <field name="CONDITION">any</field>
- <field name="ACK_CONDITION"></field>
- <statement name="STATEMENT">
- <block type="comment" id="8ih6[_lT6#aol3,`7S*W">
- <field name="COMMENT">9grad..nx passiert</field>
- <next>
- <block type="comment" id="2VmN6c@C9b0P5/-EWf1P">
- <field name="COMMENT">11grad..geht an</field>
- <next>
- <block type="comment" id="Za,,sanTD?_|6Jk8*S~I">
- <field name="COMMENT">13grad..geht aus</field>
- <next>
- <block type="comment" id="/8TJT90et~z?{yJC#gL@">
- <field name="COMMENT">Sobald was stimmt, macht der Block nicht weiter</field>
- <next>
- <block type="comment" id="{dI_ba:g{W2J-mT^,[`p">
- <field name="COMMENT">und hält an</field>
- <next>
- <block type="controls_if" id="~1=5?CT4)lxxREA4ScxZ">
- <mutation elseif="1"></mutation>
- <value name="IF0">
- <block type="logic_compare" id="cyVq4Mx`:/_:_GW0Z1_5">
- <field name="OP">GT</field>
- <value name="A">
- <block type="get_value" id="~gbIyg#F9]~+p{$0)(r=">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.Garage-Temperatur.SI7021_Temperature</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="o]v!EH^HGHOghQ!w(UEc">
- <field name="NUM">12</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="control" id="]@7v^12xKr^dw;JxU-U=">
- <mutation delay_input="false"></mutation>
- <field name="OID">sonoff.0.Garage-Temperatur.POWER</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="lZfDkBsZfW(aFYL8s#0r">
- <field name="BOOL">FALSE</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_compare" id="PR7apOB|J4hZU5m+S7f(">
- <field name="OP">GT</field>
- <value name="A">
- <block type="get_value" id="#@TEDN9eRnnWjZ!:kZQ0">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.Garage-Temperatur.SI7021_Temperature</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="4[:b:/P+oxZJMwK8vo12">
- <field name="NUM">10</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="control" id="@l=9PP#@uptYzX8}Q@-/">
- <mutation delay_input="false"></mutation>
- <field name="OID">sonoff.0.Garage-Temperatur.POWER</field>
- <field name="WITH_DELAY">FALSE</field>
- <value name="VALUE">
- <block type="logic_boolean" id="uz1R(kPx8|U8XCJ#=.G/">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- <block type="get_value" id="2d74Qcsga29TU+8Vp}+}" x="-87" y="-62">
- <field name="ATTR">val</field>
- <field name="OID">sonoff.0.Schildkroetenhaus.SI7021_Temperature</field>
- </block>
- </xml>
Allerdings solltest du bei wärmeren Temperaturen die Heizung dann ausschalten, es sei denn du willst 30 Grad in der Garage.