Motion Lockout

Hello,

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.

Anyone care to help?

Thanks!

Did you mean:

Trigger MotionTripped AND (!VirtualHallLight; MotionTripped > 5)

?

:slight_smile: 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

I will try that when I get to a PC.

Sent from my iPhone using Tapatalk

Can you do AND statements within a sequence?

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.)

Sent from my iPhone using Tapatalk

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.

Rex -

As you would guess, this worked just fine. Thanks again.

I also moved the Bathroom back to a PLEG because I was having trouble “overriding” the timer’s authority (see other thread if interested).