Jump to content

Help with my program for motion lights


theedudenator

Recommended Posts

I have outside lights I want to be on at dusk till 11pm, then only turn on with motion from 11pm to sunrise.

Right now they stay on all the time...

 

Here is my programs:

 

If

From Sunset

To 11:10:00PM (same day)

 

Then

Set 'Outside Garage' On

Disable Program 'Garage Outside Motion'

 

Else

Set 'Outside Garage' Off

Enable Program 'Garage Outside Motion'

Run Program 'Garage Outside Motion' (Else Path)

 

 

 

 

If

Status 'Outside Garage Motion-Sensor' is On

Or Elk Zone 'Motion - Front' is Violated

And From Sunset

To Sunrise (same day)

 

Then

Set 'Outside Garage' On

 

Else

Wait 15 minutes

Set 'Outside Garage' Off

Link to comment

This Program needs parens

 

If

(

Status 'Outside Garage Motion-Sensor' is On

Or Elk Zone 'Motion - Front' is Violated

)

And From Sunset

To Sunrise (same day)

 

Then

Set 'Outside Garage' On

 

Else

Wait 15 minutes

Set 'Outside Garage' Off

 

Also need to know what motion sensor options are in effect. Things like On Only mode can affect how a Program like this is coded.

Link to comment

Given your program, this could also be caused by the configuration of the motion sensor. I believe thay can be set to send only "on" commands. If yours is set this way, your program would not turn the lights off (except at sunrise).

 

I am also assuming your elk zone is not in a constand "violated" state.

Link to comment

I do believe that the time condition of "From Sunset to Sunrise (Same Day)" may be a problem as well. I think you want "From Sunset to Sunrise (Next Day)"

 

-Xathros

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...