Please login or register.

Login with username, password and session length

Author Topic: Control driveway lights based on time and door status  (Read 14561 times)

orcusomega

  • Sr. Member
  • ****
  • Helpful Post Rating: 6
  • Posts: 97
Control driveway lights based on time and door status
« on: January 11, 2011, 03:15:49 PM »

Narrative:
I love my girlfriend, but she is a bit of a clutz.  When she backed out of her garage door, and into another car in our driveway the other night, I figured it was time to do something about that.

The general principal is pretty simple.  The light is on for convenience and security purposes from dusk to midnight.  After midnight, it is on a motion sensor (not listed here).  Basically what this setup does is if somsone opens the overhead garage door to back out, pull in, whatever, the driveway light will go on and stay on until it is closed.  Once the door is closed, the light stays on 15 mins, then shuts off.

Components
   I5 (XPS3 driveway light)
   DS10A on overhead garage door

Timer 1 - Driveway Light
Conditions:
   I5 on from Dusk to 11:59 PM

Macro 1 - Garage Door Opened
Trigger Conditions:
   DS10A from garage door sensor triggered
   Time: Between Dusk and Dawn
   
Actions:
   I5 ON
   
Macro 2 - Garage Door Closed
Trigger Conditions:
   DS10A from garage door sensor closed
   Time: Between 12:01 AM and 7:00 AM
   
Actions:
   Delay: 15 mins.
   I5 OFF

I hope it will help keep the costs of repairing other peoples' cars down in the future :)

Bob
Logged

troll334

  • Hero Member
  • *****
  • Helpful Post Rating: 11
  • Posts: 159
Re: Control driveway lights based on time and door status
« Reply #1 on: January 11, 2011, 03:21:58 PM »

Helpful from me! Bravo!
See, X10 not only can save cost on electicity, but auto repair as well  rofl
Logged
AHP 3.236. CM15A. XTB-IIR. XTBM. Hauppauge 950Q.

lviper

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 10
  • Posts: 294
Re: Control driveway lights based on time and door status
« Reply #2 on: January 11, 2011, 04:48:01 PM »

What happens if the garage door is closed during the time the light is normally on? Will it shut the light off after 15 minutes?
Logged

orcusomega

  • Sr. Member
  • ****
  • Helpful Post Rating: 6
  • Posts: 97
Re: Control driveway lights based on time and door status
« Reply #3 on: January 11, 2011, 05:26:34 PM »

What happens if the garage door is closed during the time the light is normally on? Will it shut the light off after 15 minutes?

Actually the Garage Close macro will only send the OFF command after the time period where the timer controls the light.  The Garage Open macro will send the I5 on anytime between dusk and dawn, so it if the light is inadvertantly turned offf, the macro will turn it back on.

Bob
Logged

lviper

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 10
  • Posts: 294
Re: Control driveway lights based on time and door status
« Reply #4 on: January 11, 2011, 06:55:53 PM »

Oh, my bad. I didn't notice the times for garage door close to run.  B:(
Logged

orcusomega

  • Sr. Member
  • ****
  • Helpful Post Rating: 6
  • Posts: 97
Re: Control driveway lights based on time and door status
« Reply #5 on: January 11, 2011, 10:46:16 PM »

No worries!  I actually had to go back and look, I thought I had something screwed up!

Bob
Logged

thejackal

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 33
Re: Control driveway lights based on time and door status
« Reply #6 on: January 16, 2011, 02:36:16 PM »

Thanks for another nice writeup. Once I get around to cleaning the garage out and put the car back in it  rofl I'll put this macro to use.
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.