# Motion detection with light sensor

**URL:** <https://community.homey.app/t/motion-detection-with-light-sensor/64570>\
**Category:** Flows\
**Tags:** flow\
**Created:** [June 10, 2022, 1:41pm UTC](https://community.homey.app/t/motion-detection-with-light-sensor/64570 "2022-06-10T13:41:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 10, 2022, 2:46pm UTC](https://community.homey.app/t/motion-detection-with-light-sensor/64570/2 "2022-06-10T14:46:56Z")

</div>

**When…**  
– The motion alarm turned on (IKEA Motion Sensor)  
**And…**  
– Logic card: Brightness (Tag) is less than 20  
**Then…**  
– Turn light on

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/204825f9077b27f7720d9f79908ee3fddfca55a0.png)

How to use _ **Tags** _ in a flow, I suggest to follow [this](https://community.homey.app/t/how-to-use-tags-in-a-flow/9285) tutorial.

To ensure that the light goes off after a certain time, I suggest following [this](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889) tutorial.

---

_[View the full topic](https://community.homey.app/t/motion-detection-with-light-sensor/64570)._
