Author Topic: Struggling with basics  (Read 95 times)

Offline highlydefined

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Struggling with basics
« on: January 14, 2019, 12:49:10 pm »
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.


Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1443
  • Karma: +39/-36
Re: Struggling with basics
« Reply #1 on: January 14, 2019, 08:50:29 pm »
I found this very helpful: http://forum.micasaverde.com/index.php/topic,21603.0.html

And yes, if the PLEG device is armed, it will run 24/7/365.
Vera 3, 1.7.1030, CT101, Everspring motion sensor, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb, Hue, Alexa