Ledcomp Posted July 10, 2010 Share Posted July 10, 2010 I have been trying to use a 2420M motion detector to control the lights in my front yard. I would like 1 - The lights to turn on to 40% at dusk (2420M dusk/dawn sensor) 2 - Turn off at dawn (2420M dusk/dawn sensor) 3 - go to 100% for 3 minutes if it is dusk and if motion is detected. The 2420M is set to send off commands and night only mode is off. I currently have 2 programs. 1 is for dusk/dawn and the other is for motion. The Front exterior scene sets the lights to 40%. The problem is that the lights turn on in the daytime and the dusk/dawn sensor is false. Any ideas would be appreciated. Program for front dusk If Control 'Front - Motion - Sensor / Front - Motion - Dusk' is switched On And Control 'Front - Motion - Sensor / Front - Motion - Dusk' is not switched Off Then Set Scene 'Front Exterior' On Else Wait 30 seconds Set Scene 'Front Exterior' Off Program for front motion If Control 'Front - Motion - Sensor / Front - Motion - Dusk' is switched On And-( | Control 'Front - Motion - Sensor' is switched On | And Control 'Front - Motion - Sensor' is not switched Off -) Then Set Scene 'Front Exterior' Fast On Else Set Scene 'Front Exterior' On Thanks Link to comment
fitzpatri8 Posted July 10, 2010 Share Posted July 10, 2010 How about using 2 programs. "MS Dark" If Motion-Sensor - Dusk/Dawn' is switched On And Motion-Sensor-Dusk/Dawn' is not switched Off Then Set 'Porch Light' 40% Else Wait 4 minutes Set 'Porch Light' Off and "Outside Motion After Dark" If Control 'Sensors / Bedroom Motion-Sensor' is switched On And Program 'MS Dark' is True Then Set 'Porch Light' On Wait 3 minutes Set 'Porch Light' 40% Else - No Actions - (To add one, press 'Action') Link to comment
TJF1960 Posted July 10, 2010 Share Posted July 10, 2010 Program for front motion If Control 'Front - Motion - Sensor / Front - Motion - Dusk' is switched On And-( | Control 'Front - Motion - Sensor' is switched On | And Control 'Front - Motion - Sensor' is not switched Off -) Then Set Scene 'Front Exterior' Fast On Else Set Scene 'Front Exterior' On Thanks I believe fitzpatri8 is right, break this into 2 programs, What is happening is since the ms is not set to night only, during the day when the ms detects motion it switches on and off. When it switches off it trips your else statement which turns on "Front Exterior." Also, you will want to change "Control 'Front - Motion - Sensor / Front - Motion - Dusk' is switched On" to "Status 'Front - Motion - Sensor / Front - Motion - Dusk' is On". Otherwise the "else" will run anytime the ms turns on or off and "then" will only run when both the ms and dusk sensor turn on at exactly the same time, which would never happen. Tim Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.