Lights, Camera, no action

Started by ckeiser, January 15, 2010, 02:21:00 PM

Previous topic - Next topic

ckeiser

I am new to the forum and hope this has not been answered before.  I have an entry light (A1), a motion detector(B1), and a camera (C1).  I want A1 and C1 to turn on if motion is detected after dusk till dawn. I want C1 only to turn on during the day. I wrote the following macro:
Macro 1:
conditions - after dusk and before dawn (B1) trigger
Select camera
Turn on lights(A1)
turn on camera(C1)
delay 1 minute
turn off lights
turn off camera
(else) Macro 2:
select camera
turn on recording
delay 1 minute
turn off camera
During the day the first macro runs and turns on the light.  Records for one minute, stops then crashes the program.  I know I'm doing something stupid, could anyone help?

Thanks 
Chuck