# Problems with the "Daytime" not set correctly

**URL:** https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785
**Category:** Flows
**Tags:** flow
**Created:** [October 18, 2022, 6:12pm UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785 "2022-10-18T18:12:43Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![EvelynA010](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evelyna010/32/34938_2.png) [@EvelynA010](https://community.homey.app/u/EvelynA010)
#### Post date: [October 18, 2022, 6:12pm UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/1 "2022-10-18T18:12:43Z")

</div>

I have a flow with “during daytime”, which isn’t working. Tonight the flow still continues as ‘before sunset’, while it was already after sunset. The time on my Homey is correct and the variable ‘sunset’ is also correct. When I change ‘during daytime’ with 2 separate checks ‘after sunset’ and ‘before sunrise’ is works correctly. What could be the issue?

---

<div class="post-metadata">

### Author: ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)
#### Post date: [October 18, 2022, 6:23pm UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/3 "2022-10-18T18:23:50Z")

</div>

> [@EvelynA010](#):
>
> I have a flow with “when it’s daytime”,

I don’t see a trigger “when it’s daytime” in Homey.

Pls share your flow.

---

<div class="post-metadata">

### Author: ![EvelynA010](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evelyna010/32/34938_2.png) [@EvelynA010](https://community.homey.app/u/EvelynA010)
#### Post date: [October 18, 2022, 8:00pm UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/4 "2022-10-18T20:00:01Z")

</div>

I meant “during daytime”. Tonight at 19:00 h it followed the flow “true”, where it was already after sunset.

 ![Schermafbeelding 2022-10-18 om 21.58.30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/18e8e3bfc230c4f5270688d0a6433acaa579bad4.jpeg)

---

<div class="post-metadata">

### Author: ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)
#### Post date: [October 18, 2022, 9:18pm UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/5 "2022-10-18T21:18:21Z")

</div>

Have you read the Tip?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/f/ef64ade29a8b3b9846e7e410601f06e2d8a4e50e.png)

in dutch the Explanation: [Schemering - Wikipedia](https://nl.wikipedia.org/wiki/Schemering)

---

<div class="post-metadata">

### Author: ![EvelynA010](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evelyna010/32/34938_2.png) [@EvelynA010](https://community.homey.app/u/EvelynA010)
#### Post date: [October 19, 2022, 6:53am UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/6 "2022-10-19T06:53:38Z")

</div>

That’s very useless then… Thanks. To my option “schemering” ends when the sun has set. Then I need the light to turn on bright and not like it’s daylight… But I’ll try “During nighttime”, maybe that’s what I need.

---

<div class="post-metadata">

### Author: ![Koos\_Hendriks](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koos_hendriks/32/29781_2.png) [@Koos\_Hendriks](https://community.homey.app/u/Koos_Hendriks)
#### Post date: [October 20, 2022, 7:03am UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/7 "2022-10-20T07:03:05Z")

</div>

There is a dutch app called zonnestanden, maybe that is a solution.

---

<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: [February 5, 2023, 7:05pm UTC](https://community.homey.app/t/problems-with-the-daytime-not-set-correctly/70785/8 "2023-02-05T19:05:24Z")

</div>

Sometimes a light sensor’s luminance value is a better condition, when you need the lights to turn on/off at a more certain and exact daylight level.
