# Sunset period

**URL:** https://community.homey.app/t/sunset-period/149170
**Category:** Questions & Help
**Created:** [January 13, 2026, 7:07am UTC](https://community.homey.app/t/sunset-period/149170 "2026-01-13T07:07:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Claus\_Jacobsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_jacobsen/32/81074_2.png) [@Claus\_Jacobsen](https://community.homey.app/u/Claus_Jacobsen)
#### Post date: [January 13, 2026, 7:07am UTC](https://community.homey.app/t/sunset-period/149170/1 "2026-01-13T07:07:06Z")

</div>

is the trigger after sunset running until before sunrise or for how long period is after sunset?

---

<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: [January 13, 2026, 9:04am UTC](https://community.homey.app/t/sunset-period/149170/2 "2026-01-13T09:04:41Z")

</div>

The sun sets here (schiphol) today at 16:54.  
So the trigger ‘it is sunset’ is at 16:54  
The condition ‘after sunset’ is true between 16:54 and 24:00.  
The sun rises today at 8:45  
So the trigger ‘it is sunrise’ is at 8:45.  
The condition ‘before sunrise’ is true between 0:00 and 8:45

The condition ‘it is dark’ is true between 16:54 and 8:45.  
The condition ‘it is light’ is true between 8:45 and 16:54.

(I’m not sure what the exact text for the triggers and conditions are in English)

---

<div class="post-metadata">

### Author: ![SingKT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/singkt/32/173226_2.png) [@SingKT](https://community.homey.app/u/SingKT)
#### Post date: [January 13, 2026, 9:58am UTC](https://community.homey.app/t/sunset-period/149170/3 "2026-01-13T09:58:52Z")

</div>

In another thread it was mentioned resently it might be advisable to ask „is it not after sunrise“ to circumvent the midnight problem when using „is it bevor sunrise“. At least that‘s what I remember.

---

<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: [January 13, 2026, 12:49pm UTC](https://community.homey.app/t/sunset-period/149170/4 "2026-01-13T12:49:06Z")

</div>

I have also heard of the recommendation mentioned by @SingKT. My recommendation would therefore be to use the following combination:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/08a60ce7a84b489cf5bcc64f20fd4a69b3345c38.png)

A short note about the correct wording:

- A **trigger** is a short, one-time event or a status change.  
Related flow cards can be found in the “When…” section.
- “After sunset” is a **condition** , such as “Is turned on,” “It is night,” etc.  
Related flow cards can be found in the “And…” section.
