# Lux sensor with continuous reporting

**URL:** <https://community.homey.app/t/lux-sensor-with-continuous-reporting/10208>\
**Category:** Devices\
**Created:** [March 7, 2019, 7:52am UTC](https://community.homey.app/t/lux-sensor-with-continuous-reporting/10208 "2019-03-07T07:52:40Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [March 7, 2019, 7:12pm UTC](https://community.homey.app/t/lux-sensor-with-continuous-reporting/10208/21 "2019-03-07T19:12:42Z")

</div>

Flow example and sensor settings (hue sensor directly to lonked homey not via hue bridge)  
Lights on by lux (evening).  
When: lux changed  
AND: lux measurement lower then better logic constant  
AND: light not already on (prevents to trigger the flow when the lights are on alread)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/bb54eac0ced9c9786f5f881b63ab9eec607df297.jpeg)  
Lights on in the morning  
When: a certain time (I trigger a virtual device at a fixed time)  
AND: lux value is lower the better logic constant  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/f08aaed3bd796569beb565e5bca8a2289157470f.jpeg)

Lights off by lux (morning).  
When: lux changed  
AND: lux measurement larger then better logic constant+offset (the offset prevents the light to switch on again right after switching of)  
Lux value is dependend on a virtual device setting “schoonmaak” when the cleaning lady is in, the lights stay on longer (larger offset)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/11a37fe92625bab68f54ee104016f12d6becf885.jpeg)  
Settings for the sensor (PS: (ms) should be (sec), thats a typo by athom)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/551020e4d89ab08f7e6ab5e062be3e1ef736aab8.jpeg)

---

_[View the full topic](https://community.homey.app/t/lux-sensor-with-continuous-reporting/10208)._
