Hey there -
New to the whole ISY, trying to get my feet wet in this, but having a bit of a rough time with Motion sensor programming.
I want to do something fairly simple. The purpose is to turn on the light if I get up in the middle of the night so I can see where I'm going, then turn the light off.
If it's between sunset and sunrise, AND the motion sensor is tripped, AND my lamp is not already on THEN
Turn the lamp on for 2 minutes, then turn it off.
During the time that the lamp is on, I don't care about more motion events.
What would be the best way to accomplish this?
I'm doing the following now, but it doesn't quite work 100%. It seems to sometimes trip again immediately after it shuts off. Also, sometimes it comes on when I'm sure there's no motion. Is the Insteon motion sensor a piece of crap? It seems like I'll be in front of it, waving my arms around, and it doesn't trip...
Motion Light Enter - [iD 0002][Parent 0001]
If
Control 'Living Room Motion-Sensor' is switched On
And From Sunset + 30 minutes
To Sunrise - 30 minutes (next day)
And Status 'LampLinc North' is Off
Then
Run Program 'Motion Light On' (If)
Else
- No Actions - (To add one, press 'Action')
Motion Light On - [iD 0006][Parent 0001]
If
- No Conditions - (To add one, press 'Schedule' or 'Condition')
Then
Disable Program 'Motion Light Enter'
Set 'LampLinc North' 40%
Wait 2 minutes
Set 'LampLinc North' Off
Enable Program 'Motion Light Enter'
Else
- No Actions - (To add one, press 'Action')