rfrancis97 Posted April 23, 2015 Share Posted April 23, 2015 I'm new to programming the ISY-994i, but I have 40 years or programming experience. Yet and I'm really struggling with a few ISY programming concepts. I'm trying to run this simple program to turn on my porch light when the motion sensor detects motion, but to only do so between sunset and sunrise. My problem: The light turns on when motion is detected, regardless of the time of day. I only want the program to work between sunset and sunrise. Here are the programs used: ------------------------------------------------------------ Rear Porch Light Status - [iD 0003][Parent 0001] If Status 'Rear Porch Motion Sensor-Sens' is On And Status 'Rear Porch Light' is Off Then Run Program 'Rear Motion Sensor Sched' (If) Else - No Actions - (To add one, press 'Action') ------------------------------------------------------------ Rear Motion Sensor Sched - [iD 0005][Parent 0001] If From Sunset To Sunrise (next day) Then Set 'Rear Porch Light' On Else - No Actions - (To add one, press 'Action') ------------------------------------------------------------ What don't I understand? Any advice would be appreciated. Link to comment
paulbates Posted April 23, 2015 Share Posted April 23, 2015 If it's the Insteon motion sensor, you can configure its settings to trigger only when it's dark. I would start there Sent from my iPhone using Tapatalk Link to comment
Mike Ippolito Posted April 23, 2015 Share Posted April 23, 2015 Personally I prefer: If From Sunset To Sunrise (next day) And Status 'Rear Porch Motion Sensor-Sens' is On Then Run Program 'Rear Motion Sensor Sched' (Then) Else - No Actions - (To add one, press 'Action') Rear Motion Sensor Sched - [iD 0005][Parent 0001] If (nothing is in IF) Then Set 'Rear Porch Light' On Wait 5 Minutes Set 'Rear Porch Light' Off Else - No Actions - (To add one, press 'Action') Link to comment
oberkc Posted April 23, 2015 Share Posted April 23, 2015 I also prefer an approach similar to mike ippolito. I would like to add, however, that if you want to use a program to trigger lights from motion, be sure to make sure that there is no scene relationship between the motion sensor and lights. Link to comment
rfrancis97 Posted April 23, 2015 Author Share Posted April 23, 2015 Thank you for the quick responses! All good suggestions. I'm not sure why (yet), but "oberkc" had the answer. I had a scene relationship between the MS and light. I removed them from a scene and it works as expected. Link to comment
oberkc Posted April 23, 2015 Share Posted April 23, 2015 I'm not sure why (yet) What is it about which you are unsure? Is it how your scene relationship came to exist? Is your uncertainty about how removing the scene solved your problem? Or are you wondering how it was possible that I had the answer? Link to comment
Dracarys Posted May 21, 2015 Share Posted May 21, 2015 [deleted original post - my programs have changed] Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.