Hi,
habe im Waschraum ne Lampe über einen Shelly mit Tasmota ein Wechselschalter funktioniert nicht gut geht nach 30 sec. aus.
abends steuert das ganze der bewegungsmelder Xiaomi 20-6 Uhr funktioniert gut .
Also es sollte bei manueller betätigung des schalters an bleiben bis man es wieder aus macht.
Wie muß ich den Code ändern
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="undefined" id="timeout">timeout</variable>
</variables>
<block type="on" id="gNt!/9v50#T}LQmVt5*;" x="-37" y="-112">
<field name="OID">deconz.0.Sensors.2.dark</field>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="0CMf9(7F7#SON]1?)~0o">
<value name="IF0">
<block type="time_compare_ex" id="5.Jax##)CH:~UZcS5n9k">
<mutation end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">between</field>
<value name="START_TIME">
<shadow type="text" id="{ikSrKzK=8yWZ/wDCj|j">
<field name="TEXT">20:00</field>
</shadow>
</value>
<value name="END_TIME">
<shadow type="text" id="sTDwW6^Cw8Un?DMOEir~">
<field name="TEXT">06:00</field>
</shadow>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="58BF~TPF+}c?Y9Pa{0.K">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.shelly-Waschraum.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="2R`c*;Z[NV/X(ER`6gU]">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="timeouts_cleartimeout" id="}v~LX.~es]^Lls6o|AU9">
<field name="NAME">timeout</field>
<next>
<block type="timeouts_settimeout" id="gTD@2k%eI?NOkK3y#3CG">
<field name="NAME">timeout</field>
<field name="DELAY">30</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="GUqGc4l0Y-Z:Bhg,FiXb">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.shelly-Waschraum.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="FsQjOF3tQjJFn(P,qgsC">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Vielen Dank