# Tricky Sensor placement puzzle

**URL:** <https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803>\
**Category:** Projects & Stories\
**Created:** [April 14, 2017, 4:52pm UTC](https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803 "2017-04-14T16:52:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zonomo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/zonomo/32/53066_2.png) [@zonomo](https://community.smartthings.com/u/zonomo)\
**Post date:** [April 14, 2017, 4:52pm UTC](https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803/1 "2017-04-14T16:52:49Z")

</div>

I have a little bit of a tricky setup that I could use some help on. My office is downstairs. Right outside my door is the bathroom and you can see the hallway that leads upstairs. I would like to turn on the hallway lights with motion but not when I use the restroom throughout the day. Is there anyway to set up a motion sensor to only trigger once I move past a specific point? ie: When I walk down the hallway but not when I enter the restroom? I have access to either an Iris or Hue Motion sensor. Thanks everyone.

 ![](https://global.discourse-cdn.com/smartthings/original/3X/1/0/10dd70cf05f457c15af48e5a99b757521814093c.jpg)

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [April 14, 2017, 5:39pm UTC](https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803/2 "2017-04-14T17:39:57Z")

</div>

This can certainly be done. It may help to think of the sensor’s detection zone as being similar to the light from a single light bulb. How would you set it up to keep the back end of the hallway lit well the front and was not?

The usual answer is just some kind of shielding, the same as you would do with the bulb. You can put the sensor inside a little box and make one side of it longer than the other. A lot of people just put tape on one side of the sensor lens, which works depending on the exact type of sensor you have. Other people put a tube over the sensor lens to really narrow the detection field. Any of these can work, it just depends on your exact setup.

Remember that all of these sensors work best when the person is walking past them rather than walking straight on towards them. So a ceiling mount sensor in a box with the longer side on the bathroom side might work very well.

See the following FAQ:

> [@FAQ: Where to locate motion sensor for fastest response?](https://community.smartthings.com/t/faq-where-to-locate-motion-sensor-for-fastest-response/55798/):
>
> I have a downstairs hallway that’s perhaps 12 feet long, with a doorway to a spiral staircase at one end (where the picture is taken from) and a door into the garage on the other end. As you can see in the picture, there’s a jog in the hallway. Not seen here are another doorway about 4 feet to the right of the one by the staircase, a bedroom door to the left at a 45-degree angle (you can just make out a bit of the trim on the corner of the wall, near the top), and a laundry room doorway on the right as you go through the jog. The hallway is dark and I want to automatically turn on the lights when I come off the stairway or enter from the garage. I have an Ecolink motion sensor and I’ve tried placing it in each of the four locations marked with circles. (The two near the top are …

Also, I’m assuming this isn’t just a time of day issue? With either smartthings or Hue you could set your rules so that you ignore the motion sensor during the day if you want.

---

<div class="post-metadata">

**Author:** ![zonomo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/zonomo/32/53066_2.png) [@zonomo](https://community.smartthings.com/u/zonomo)\
**Post date:** [April 14, 2017, 5:57pm UTC](https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803/3 "2017-04-14T17:57:49Z")

</div>

Thank you - I have read the FAQ before my thread but wasn’t exactly sure how to pull it off. I think I may try tape at first and see if this works. Then I may try a small box solution Thanks.

---

<div class="post-metadata">

**Author:** ![Ac7ss](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ac7ss/32/38325_2.png) [@Ac7ss](https://community.smartthings.com/u/Ac7ss)\
**Post date:** [April 14, 2017, 7:50pm UTC](https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803/4 "2017-04-14T19:50:14Z")

</div>

I would mount it at an angle facing the direction you want sensed, with it’s back to the dead zone. Either on the wall or the ceiling.

Most sensors have about a 120 degree sensitivity range horizontally, and about a 30 degree range vertically, look at the data sheet that they come with.

---

<div class="post-metadata">

**Author:** ![zonomo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/zonomo/32/53066_2.png) [@zonomo](https://community.smartthings.com/u/zonomo)\
**Post date:** [April 14, 2017, 7:55pm UTC](https://community.smartthings.com/t/tricky-sensor-placement-puzzle/84803/5 "2017-04-14T19:55:35Z")

</div>

I was able to “sorta” get this working how i want. I did exactly as Ac7ss suggested and then used a small piece of tape to mask my entrance to the bathroom. So when I go in, the hall lights dont turn on but if i walk down the hallway, they go on. I am probably 2 steps in before it triggers though and would like to fine tune that.
