# Light intensity

**URL:** <https://community.homey.app/t/light-intensity/97318>\
**Category:** Questions & Help\
**Created:** [December 9, 2023, 3:45pm UTC](https://community.homey.app/t/light-intensity/97318 "2023-12-09T15:45:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [December 9, 2023, 3:45pm UTC](https://community.homey.app/t/light-intensity/97318/1 "2023-12-09T15:45:19Z")

</div>

I would like to enable my PIR sensor dependent on the light intensity. Currently i’m using time (sunrise / sunset) as the enabler, but sometime you have a “dark” day and would be able then to enable the sensor on such a day as well. Is there any app for that? Or would it be able to get this data from the web (eg a weather site)?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 9, 2023, 5:29pm UTC](https://community.homey.app/t/light-intensity/97318/2 "2023-12-09T17:29:21Z")

</div>

I use a separate lux meter for that purpose.  
Because weather site info is too general I think.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [December 9, 2023, 5:41pm UTC](https://community.homey.app/t/light-intensity/97318/3 "2023-12-09T17:41:47Z")

</div>

Hmm…good idea, meanwhile i have done it using “weather forecast”…let’s see what it gives. Which lux meter are you using?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 9, 2023, 5:56pm UTC](https://community.homey.app/t/light-intensity/97318/4 "2023-12-09T17:56:00Z")

</div>

I use this one

> ![Screenshot_20231209-185022_AliExpress](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/88c608f43d2629db3a7e1818d8dd9e41a3965622.jpeg)

.  
I also have Aqara motion sensors, which send the lux value along with motion events.  
Which works fine in a busy room, but in a little used room, with like, just 4 or 5 motion events a day, it is one motion event too late to let Homey know it’s current lux value.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [December 9, 2023, 6:38pm UTC](https://community.homey.app/t/light-intensity/97318/5 "2023-12-09T18:38:35Z")

</div>

Fel bedankt !

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [December 9, 2023, 6:57pm UTC](https://community.homey.app/t/light-intensity/97318/6 "2023-12-09T18:57:56Z")

</div>

My Aqara motion sensor has a lightsensor built in:

 ![IMG_1665](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87d918bcab08ae88a226e274f49eca73ab293eaf.jpeg)

Like KAWA wrote it updates only when motion is detected. But if you only lights to go when there is motion AND it’s dark this will work:

 ![IMG_1666](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/7/a79dd448388a9ec8212bdb806c132b806a589330.jpeg)

---

<div class="post-metadata">

**Author:** ![DirkH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkh/32/78952_2.png) [@DirkH](https://community.homey.app/u/DirkH)\
**Post date:** [December 10, 2023, 3:36pm UTC](https://community.homey.app/t/light-intensity/97318/7 "2023-12-10T15:36:26Z")

</div>

> [@ZeroSugar](#):
>
> I would like to enable my PIR sensor dependent on the light intensity.

According to the solution I guess you want to create a flow that acts only on the PIR sensor, if it is “dark”.  
I did not find a way to activate or de-activate a hardware tool, at least not with the tools / sensors I have.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [December 10, 2023, 3:50pm UTC](https://community.homey.app/t/light-intensity/97318/8 "2023-12-10T15:50:08Z")

</div>

Well…i have a very simple PIR sensor (from ikea) and a light on which i have attached a shelly 1. When the PIR sensor gets triggered (also during the day), i’ll check the luminance via a weather site and decide then if i switch the light on or not.
