Turning on UPB switch/light using motion detector

dooger54

Member
I'm just getting started building my HA system by adding some UPB switches. I have the following scenario I want to program:

In our second floor master bedroom, I want a light to come on automatically when someone walks into the room after dark. I am planning on adding a motion detector wired to my HAI Omni Pro II system. I will use a SA US 1140W to control the light.

What I envision is progamming the Omni so that whenever the Zone with the detector is NOT READY, that would trigger the Link to turn on the light, and have it stay on for maybe 5 or 10 minutes. I would also program it so that it only happens after sunset, but if before 11:00pm. I don't want the light to go on in the middle of the night when I use the bathroom.

My concern is that any motion in the room will activate the light, not just when someone enters. So anyone in that room after dark will trigger the light, or even when someone is leaving the room, not entering. Is there anyway to program around this? I can't think of anything.
 
I do this in several rooms with my HVPro and UPB (could be any technology though).

When the motion sensor sees someone:
1) it checks if it's in the right window to turn on the light (based on the weather, it could be from ~2 hours pre-sunset up to sunset until your cutoff time (11pm)).
2) If it is in the right time window, then it checks if the light is on (no reason to keep sending that switch a signal to turn on if it's already on)
3) it resets a countdown timer (whatever length you want, 5 minutes in your example)
4) Once the countdown timer expires, it turns off the light (it won't finish counting down until it hasn't seen motion for 5 minutes).

Of course, if someone manually turns off the light, I have it turn off the light, and clear the timer.

Hope it helps
 
My concern is that any motion in the room will activate the light, not just when someone enters. So anyone in that room after dark will trigger the light, or even when someone is leaving the room, not entering. Is there anyway to program around this? I can't think of anything.


I think the key to getting the motion detctor activation you describe has more to do with the type and placement of the motion detector rather than how the Omni is programed. Arrange the placement of the motion detector so it will only trigger when people are actually walking in the room rather than just walking past an open door to the room. Also many motion detectors have high/low sensitivity switches to reduce detection of unwanted motion. I think that is the only way you can reduce the trigger to only those events you want.

Robolo
 
You probably want more of an 'occupancy sensor' or a curtain sensor mounted over the doorway. That should limit to only motion in/out of the door. You still have the issue of in vs out. Maybe you could also put a regular PIR and check order of tripping, like if doorway sensor trips, then inside PIR then turn on light (coming in) but if inside PIR is tripped, then doorway then don't turn light on (or turn it off)? But then there is the scenario if someone is already in the room and tripping inside PIR then the door curtain trips - what to do?

The sensing is easy, the logic can get really complicated...
 
Back
Top