I have a situation where my motion sensor is directly below a light switch. The problem is that when I manually turn off the light, the light gets reactivated by the motion sensor before I can get out of the way.
I’m replicating this in my “test room” via the attached virtual devices. I thought I could look for a device to be FALSE (off) for a period of time before allowing the trigger to fire but when I use the attached trigger condition the trigger never happens. I’m trying to delay 5 seconds of the light being off before allowing a new trigger.
I believe that will work just fine! Essssh. Sorry for the ID10T moment. Can you do AND statements within a sequence? e.g (!VirtualHallLight AND !somethingelse);MotionedTripped>5
No you can’t. Sequence terms cannot be expressions - although the ! (not) operator is allowed. This can be a limitation in PLTS where you can’t add another condition to pre-compute the term.
Interesting. It may be ok for this one but I can see where one would be forced to PLEG here. Thanks Rex. I will report my findings. (Which I assume will be just fine.)
With the exception of the UI buttons and countdown, you can now implement all PLTS functionality in PLEG. I’m not knocking PLTS and I still use it for simple timing functions but PLEG’s flexibility is unbeatable.