edokid Posted February 13, 2015 Share Posted February 13, 2015 Getting stuck making this work. In my bathroom I have 2 motion sensors, one that covers all the bathroom, then a second aiming right at the shower to prevent it from turning off when someone is in there. I set it low, to turn off after 2 minutes. It works to keep the light on but what's the best way to turn the light off after 2 minutes of no motion at all? My programs are below but the Off one doesn't work, light never turns off I guess since the way I have it means both have to go off at the same time. I feel like this is easy but mind is blank, thanks!!! Motion On Master Bath Motion On - [iD 0023][Parent 0025] If Control 'System Devices / Master Bedroom and Bath / Motion Sensor-Sensor' is switched On Or Control 'System Devices / Master Bedroom and Bath / Z-Wave Shower Motion Sensor' is switched On Then Set Scene 'Scenes / Master Bathroom and Shower' On Else - No Actions - (To add one, press 'Action') Motion Off (Doesn't work, only with 1 sensor it does) Master Bath Motion Off - [iD 0024][Parent 0025] If Control 'System Devices / Master Bedroom and Bath / Z-Wave Shower Motion Sensor' is switched Off And Control 'System Devices / Master Bedroom and Bath / Motion Sensor-Sensor' is switched Off Then Wait 2 minutes Set Scene 'Scenes / Master Bathroom and Shower' Off Else - No Actions - (To add one, press 'Action') Link to comment
LeeG Posted February 13, 2015 Share Posted February 13, 2015 Use "If Status" for the Off check. If Control ..... is switched Off does not And well. There will not be two Off commands received at the same time but there will be If Status Off for both at the same time. Link to comment
edokid Posted February 14, 2015 Author Share Posted February 14, 2015 Awesome that worked thanks again! Link to comment
LeeG Posted February 14, 2015 Share Posted February 14, 2015 Good news. Happy to help. Link to comment
aliensk8terboy Posted February 14, 2015 Share Posted February 14, 2015 I have the same setup in my bathroom. I set my motion detectors to "On only" mode and paired them with the lights. Then an ISY program turns off the lights if no "On" command has been sent from either detector within 15 minutes. Link to comment
Xathros Posted February 14, 2015 Share Posted February 14, 2015 Or, you could narrow this down to one program: Motion On Master Bath Motion On - [ID 0023][Parent 0025] If Control 'System Devices / Master Bedroom and Bath / Motion Sensor-Sensor' is switched On Or Control 'System Devices / Master Bedroom and Bath / Z-Wave Shower Motion Sensor' is switched On Then Set Scene 'Scenes / Master Bathroom and Shower' On Wait 2 minutes Set Scene 'Scenes / Master Bathroom and Shower' Off Else - No Actions - (To add one, press 'Action') In this program, the wait restarts with each new Motion On received and will timeout and turn off the lights after 2 minutes with no motion detected. Hope this helps. -Xathros Link to comment
edokid Posted February 14, 2015 Author Share Posted February 14, 2015 Great thanks everyone, I can't remember why I did it as 2 programs. I was removing things to make it simple but the actual program has schedules on it like it only runs during the day and not middle of the night etc. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.