Author Topic: Light on when door opens after dusk - not working?  (Read 183 times)

Offline highlydefined

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Light on when door opens after dusk - not working?
« on: January 16, 2019, 01:43:39 pm »
I've been through the guides for PLEG but I'm still struggling.  I want to have my hallway light come on if the time is between dusk and dawn and if the front door state changes from locked to unlock.  I have attached a status report, any help gratefully received.

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1442
  • Karma: +39/-36
Re: Light on when door opens after dusk - not working?
« Reply #1 on: January 16, 2019, 09:38:30 pm »
It is easier to read if you post a PDF of the status report.  Attached is an example.
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

Offline highlydefined

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Light on when door opens after dusk - not working?
« Reply #2 on: January 17, 2019, 03:22:21 am »
Whoops, posted the wrong one, sorry here's the correct one.

Offline aboyer

  • Sr. Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
Re: Light on when door opens after dusk - not working?
« Reply #3 on: January 17, 2019, 01:54:06 pm »
I have a similar function happening and the only difference I see between yours and mine is in the condition my "and" is all capital letter.

I am not sure is this is a requirement but in every example I have seen posted and in all of my conditions, the operators are in all capitals. Maybe this is why it isn't firing.

Offline highlydefined

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Light on when door opens after dusk - not working?
« Reply #4 on: January 21, 2019, 07:55:23 am »
Well that fixed it! Thanks!

Offline aboyer

  • Sr. Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
Re: Light on when door opens after dusk - not working?
« Reply #5 on: January 21, 2019, 04:15:59 pm »
Glad I was able to help.