jkraus Posted March 29, 2010 Posted March 29, 2010 I want the motions sensor to activatea ligth ONLY if that lite is not already on via other controller. This program works but then if one of the controllers is already on the sensorr still activated the light (not desired). I now the culprit is the (and the motion sensor is not switched off) but I wanted it this way so that if I then switched off any of the controllers that light would stay on for the remained fo teh MS timer. Any suggestions? On Program: If Control '11.A0.A5-Sensor' is switched On And Control '11.A0.A5-Sensor' is not switched Off And Status 'Garage KPL A' is Off And Status 'Garage KPL D' is Off And Status 'KPL Kitchen A' is Off And Status 'KPL Kitchen - D' is Off And Status 'KPL Pool - G' is Off And Status 'KPL Pool - B' is Off Then Set 'Garage Back Lite' Fast On Else - No Actions - (To add one, press 'Action') Program off command: If Control '11.A0.A5-Sensor' is switched Off And Status 'Garage KPL A' is Off And Status 'Garage KPL D' is Off And Status 'KPL Kitchen A' is Off And Status 'KPL Kitchen - D' is Off And Status 'KPL Pool - G' is Off And Status 'KPL Pool - B' is Off Then Set 'Garage Back Lite' Off Else - No Actions - (To add one, press 'Action')
Sub-Routine Posted March 29, 2010 Posted March 29, 2010 Hi Joe, You don't need the (and the motion sensor is not switched off) line. That would cause the program to run the Else actions when the MS is switched off. Your Off program should already do what you want. Rand
jkraus Posted March 29, 2010 Author Posted March 29, 2010 thanks, but here is the problme. I want the garage lite to come on if any of the contrololers have turend off and ther is still motion sensors time left. eg. turn on garage lit by one of the controllers, MS will do nothing even if triggered, one minute later turn off the controller to the garage lit, would like 30 seconds (garage MS is set for 1.5mins) of garalge lite before shuts off.
Sub-Routine Posted March 29, 2010 Posted March 29, 2010 Oh Man. Then you could not link your switches directly to the lights. You would have to use programs to see the switch presses and then control the lights. Or, if you have the lights on a dimmer set the switches for a long ramp rate so a program could turn them back on before they turn off. But that will have an effect when you use the switch to turn them on. You can use Adjust Scene to change the ramp rates. This will be complicated and I'm afraid it will not be what you want. It will be much simpler if you can use specific KPL buttons or switches without a load to select as an override to the motion sensor. thanks, but here is the problme. I want the garage lite to come on if any of the contrololers have turend off and ther is still motion sensors time left. eg. turn on garage lit by one of the controllers, MS will do nothing even if triggered, one minute later turn off the controller to the garage lit, would like 30 seconds (garage MS is set for 1.5mins) of garalge lite before shuts off.
Recommended Posts