someguy Posted January 17, 2009 Posted January 17, 2009 Here is my scenario: I have the lights in my home gym controlled by an insteon "skylink" 2420 motion sensor. I didn't want my treadmill that is plugged into an outletlinc to ever go off while I was in the middle of using it. I devised this "safety" that would give me a couple of minutes of time between the lights going off and the treadmill going off, just in case I had to leave the room for a few minutes. This same scenario could be used if someone wanted a warning that the motion sensor had timed out. This way, the first light that goes off could be the warning and then the rest of the lights would go off a determined amount of time later. program: Gym treadmill off: If Control 'Gym-6-Motion Sensor' is switched Off Then Wait 2 minutes Run Program 'Gym treadmill off 2' (If) Else - No Actions - (To add one, press 'Action') Gym Treadmill off 2 (this program is not enabled): the IF part may be a bit redundant, but it works. If Status 'Gym-6-Motion Sensor' is Off Then Set 'Gym-5-Treadmill outletlinc' Off Else - No Actions - (To add one, press 'Action') This last program stops the above programs from turning off the treadmill if motion is sensed again: If Control 'Gym-6-Motion Sensor' is switched On Then Stop program 'Gym treadmill off' Else - No Actions - (To add one, press 'Action') One of the other things that I could throw in here is a comment about the use of these motion sensors. With an X10 motion sensor, each ON command is sent out, but the insteon 2420 motion sensor is different. If the light is turned on by the sensor and you manually turn the light off at the switch, it will not go on again until you have left the room for long enough for the sensor to turn it's status to to OFF. This could be a good thing or a bad thing, depending upon what you are trying to accomplish.
Recommended Posts