Also Ich möchte das meine Pumpe anspringt um. ca 10 uhr bevor sie anspringt soll geprüft werden ob der Wasser Tank noch Voll ist ist dieser nicht voll soll die Pumpe solange Laufen bis das Fass voll ist
(Die Füllstand mach ich mithilfe von einem Aquara Wassersensor)
Jedoch scheitere ich an der Zeit Einstellung und daran die Pumpe wieder auszuschalten
Momentan hab ich als Trigger eine Sonoff Steckdose also net wundern
Code
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on" id="sr5nteILnzH-z+8Y@IS-" x="-362" y="-162">
<field name="OID">sonoff.0.Sonoff-S20-1.POWER</field>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="24+WdeoWi3t$[s=_Y%FO">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="2s.?3#?TbZF0Fal)?ym^">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="RWK5XY-AWLZZcLb|0ty2">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d00021308db.detected</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="c:;sQy-CJMv{hHa)@}O)">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="%SBhHI:=..)!L/sv2va;">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-4CH.POWER3</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="T3QU4DdQ@U]N.w|I1G^j">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="o(fKc9,L~c:#Mz5mYV|:">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="OtqPd/WUZeCkwA`S7p5)">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d00021308db.detected</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Dm+NRV!cEUY).GRmzr(U">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="_#$Y5(h)4AB323_ZVX#D">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-4CH.POWER3</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="v?G^T?p+-po-S^kF|^_t">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen