Struggling with basics

Hello, I’m trying to get to grips with PLEG; I think if I can get one initial thing to work I’ll understand it a lot more.

I have a Conexis lock and z-wave lighting and I simply want to trigger my hallway light to come on if it is dusk and if the front door gets unlocked.

Therefore, I assume I need the following:

sDarknessHours - a schedule/timer for dusk to dawn
tFrontLock - a device trigger for the front door opening

Next up is where I find things confusing. Do I need a Condition/Automation Logic? And if so, how should this be written?

And finally, when that Condition is met I make a Logic Action to turn on the hallway light?

And if PLEG is armed, this will all automatically run 24/7/365?

Thank you all so much for your help.

I found this very helpful:,21603.0.html

And yes, if the PLEG device is armed, it will run 24/7/365.

Best Home Automation shopping experience. Shop at getvera!

© 2021 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules