# Turning on and off lights using motion sensor (HUE) - cant seem to reach the right stuff

**URL:** <https://community.homey.app/t/turning-on-and-off-lights-using-motion-sensor-hue-cant-seem-to-reach-the-right-stuff/113402>\
**Category:** Questions & Help\
**Created:** [July 25, 2024, 12:47pm UTC](https://community.homey.app/t/turning-on-and-off-lights-using-motion-sensor-hue-cant-seem-to-reach-the-right-stuff/113402 "2024-07-25T12:47:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mddk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mddk/32/79343_2.png) [@Mddk](https://community.homey.app/u/Mddk)\
**Post date:** [July 25, 2024, 12:47pm UTC](https://community.homey.app/t/turning-on-and-off-lights-using-motion-sensor-hue-cant-seem-to-reach-the-right-stuff/113402/1 "2024-07-25T12:47:24Z")

</div>

As mentioned, im using Homey Pro to control a hue motion sensor. when i walk into the room i want it to turn on two diff smart plugs - which it does. But when i keep sitting there working, it just turns off randomly.

Is there any way to avoid this - to have the motion sensor check again somehow?

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 25, 2024, 1:00pm UTC](https://community.homey.app/t/turning-on-and-off-lights-using-motion-sensor-hue-cant-seem-to-reach-the-right-stuff/113402/2 "2024-07-25T13:00:28Z")

</div>

There are already countless examples here in the forum, I also wrote about this yesterday in the linked post: [Slow Flow - #20 by DirkG](https://community.homey.app/t/slow-flow/79623/20)

However, these flows only work if the Motion Sensor frequently detects more or less significant movements.  
There are also so-called Presence Sensors available which register even the smallest movements, e.g. the [SONOFF Zigbee Human Presence Sensor (SNZB-06P)](https://sonoff.tech/product/gateway-and-sensors/snzb-06p/).  
But of course, it depends on the use case if a Motion Sensor or a Presence Sensor is the better solution.

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [July 25, 2024, 1:11pm UTC](https://community.homey.app/t/turning-on-and-off-lights-using-motion-sensor-hue-cant-seem-to-reach-the-right-stuff/113402/3 "2024-07-25T13:11:03Z")

</div>

Or, you move to a mmWave sensor. This was the fix for me to detect if I’m in the office or not.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 25, 2024, 1:16pm UTC](https://community.homey.app/t/turning-on-and-off-lights-using-motion-sensor-hue-cant-seem-to-reach-the-right-stuff/113402/4 "2024-07-25T13:16:43Z")

</div>

The SONOFF Presence Sensor SNZB-06P is a mmWave sensor.
