Real quick question for syntax of conditions

to turn a light off X mins after it turned on, is this correct:

HomeLights1 AND (HomeLights1; NOW > 3:00)

or should it just be:

HomeLights1; NOW > 3:00

Because the first one didnt turn the lights off after 3 mins :slight_smile:

Both will work.
But it may be longer than 3 minutes if you do not have instant status reporting switches.

ok, thanks for that.

they are instant reporting.

will give the second one a shot

Do not forget to ARM the PLEG device.

Yes they were armed, The lights turned on, just not off.
Thanks

Post a PLEG report.
I may also need for you to turn on Debug (Advanced Tab for PLEG set Debug to 1 and save)
Then collect a log:
http://YourVeraIP/cgi-bin/cmh/log.sh?Device=LuaUPnP

Demonstrate the problem.
In fact if you start capturing the Log, Then restart Vera … Then demonstrate the PLEG problem
I will also check your Day Or Night problem.

You can email me the information (My email is enabled in my profile)

Thanks Richard,

Will do this soon as i get home from work

how do i capture a log? that page just keeps flowing with log info.

Just save it, it will save from the beginning to the current point in time.