# Light at sunset +35 min

**URL:** <https://community.homey.app/t/light-at-sunset-35-min/62490>\
**Category:** Apps\
**Created:** [April 8, 2022, 7:20pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490 "2022-04-08T19:20:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sortberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sortberg/32/49467_2.png) [@Sortberg](https://community.homey.app/u/Sortberg)\
**Post date:** [April 8, 2022, 7:20pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/1 "2022-04-08T19:20:54Z")

</div>

Hey.  
I’m missing an example of a flow where a lamp, when moving on a sensor, comes on. It should only do so 30 minutes after the sun has set and until the sun rises again. It should be properly dark before turning on. I’ve messed with sun events but can’t get it to work properly. I’m missing an example of a flow where a lamp, when moving on a sensor, comes on. It should only do so 30 minutes after the sun has set and until the sun rises again. It should be properly dark before turning on. I’ve messed with sun events but can’t get it to work properly. I don’t think I quite understand the app 🤤😂

---

<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:** [April 9, 2022, 12:56am UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/2 "2022-04-09T00:56:33Z")

</div>

Zoomed in on the ‘after sunset’ card, 35 is the offset, so it has to be 35mins after sunset before the condition is true

> ![Screenshot_20220409-025541_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/56ad9bde6fb9500b36086b0a4af95dd57261206a.jpeg)

.  
I like this one too. It uses the light percentage tag of the ‘Sun Events’ app

 ![Screenshot_20220409-030425_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f39348a4225cd16c3f65bfb7003343da3651962d.jpeg)

---

<div class="post-metadata">

**Author:** ![Sortberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sortberg/32/49467_2.png) [@Sortberg](https://community.homey.app/u/Sortberg)\
**Post date:** [April 9, 2022, 6:29am UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/3 "2022-04-09T06:29:29Z")

</div>

Thx Peter!  
Where do you get lumination from? Do you have a light meter?

[https://homey.app/f/UJx1d0](https://homey.app/f/UJx1d0)

Maybe like this?

---

<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:** [April 9, 2022, 2:29pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/4 "2022-04-09T14:29:48Z")

</div>

> [@Sortberg](#):
>
> Where do you get lumination from?

From the Sun Events app. You find it mentioned on the last screenshot, right above the variables and below “Select tag”

---

<div class="post-metadata">

**Author:** ![Sortberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sortberg/32/49467_2.png) [@Sortberg](https://community.homey.app/u/Sortberg)\
**Post date:** [April 9, 2022, 4:10pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/5 "2022-04-09T16:10:46Z")

</div>

Oh… But, one how the heck does it know how bright it is outside. It can vary a lot here in Denmark. 😂

Thx 🙂

---

<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:** [April 9, 2022, 8:06pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/7 "2022-04-09T20:06:28Z")

</div>

> [@Sortberg](#):
>
> how the heck does it know how bright it is outside.

😆😜 It’s of course a general value, related to the sun position (I guess). I use the values below 5% (it’s getting darker) and 0% (= dark).  
If you want real brightness values you can always point a lux sensor to the outside.  
For me the Sun Events values are good enough

---

<div class="post-metadata">

**Author:** ![Sortberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sortberg/32/49467_2.png) [@Sortberg](https://community.homey.app/u/Sortberg)\
**Post date:** [April 19, 2022, 6:40pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/8 "2022-04-19T18:40:02Z")

</div>

By the way, do you have to enter where in the world you live? I don’t think the light percentage works quite optimally, not here where I am at least. 🙂

---

<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:** [April 19, 2022, 7:01pm UTC](https://community.homey.app/t/light-at-sunset-35-min/62490/9 "2022-04-19T19:01:54Z")

</div>

It uses Homey’s location

 ![Screenshot_20220419-210105_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/77b355e5fd092616d58c8b9129e0503a5e5d300d.jpeg)
