Page 1 of 1

ConditionSwitch does not Toggle output

Posted: 29 Aug 2016 22:28
by iar314
Use Case: Lights ON after Dark until Bed time (Night) then Lights ON during Night when Motion is detected and Lights OFF when Motion times out.

Applications:
Z-Way v2.2.3
Cron v1.0.0
BaseModule v1.09
Presence v1.1
ConditionSwitch v1.09

Conditional Variables:
N = Night (Defined in the Presence 23:00 - 07:45)
D = Dark (Luminosity < 5 from Aeotec MultiSensor6))
M = Motion (Aeotec MultiSensor6)
Action:
L = 3 ON/OFF Lights

Operation:
ConditionSwitch was added to the Z-Way Apps Active list and configured as follows:
~N . D = L where ~N = not night
This configuration worked successfully for all test cases including:
N = True when the Night interval begins
D = True/False based on the Luminosity level.
When ConditionSwitch is configured to detect Motion
N . D . M = L
The observed results are:
N D M L
==================
T T T T
T T F X
The 2nd Test condition show no effect on the Lights for Motion timer timeouts (set for 4 minutes).

The expectation was that the Lights would toggle similar to when the Night and Luminosity transitions occur.
Appreciate your comments.

In addition, please recommend a way to use multiple instances of ConditionSwitch to control multiple unique outcomes. Attempts to do so failed with the BaseModule becoming unstable causing Presence to fail resulting in deleting Apps from automation/userModules/ and reinstalling from git (had to do this several times).