mitch236 Posted May 11, 2010 Posted May 11, 2010 I have a water pump to increase the pressure for the master shower. I only want it to be running when someone is taking a shower. I decided to have the pump come on if two conditions are met. One, the shower light has to be on and two, a motion sensor has to be activated. To that end, I wrote the following program: If Status 'Indoor / Master Bath / Shower' is On And Status 'Indoor / Master Bath / Shower Sensor / Shower Sensor-Sensor' is On Then Set 'Indoor / Master Bath / Water Pump' On Else Set 'Indoor / Master Bath / Water Pump' Off Because my wife tends to leave the lights on, I also wrote the following program to turn off the shower light: If Status 'Indoor / Master Bath / Shower' is not Off And Status 'Indoor / Master Bath / Shower Sensor / Shower Sensor-Sensor' is not On Then Wait 15 minutes Set 'Indoor / Master Bath / Shower' Off Set 'Indoor / Master Bath / Water Pump' Off Else - No Actions - (To add one, press 'Action') I set the timeout for the motion sensor to 8.5 minutes. I'm assuming that means that the sensor will send an off signal if no motion is detected in 8.5 minutes which should be sufficient. Does this look right?
Mark Sanctuary Posted August 10, 2010 Posted August 10, 2010 It looks like it should work... did you run into any issues?
Recommended Posts