# Sunset offset

**URL:** <https://community.homey.app/t/sunset-offset/88458>\
**Category:** Flows\
**Created:** [August 31, 2023, 10:34am UTC](https://community.homey.app/t/sunset-offset/88458 "2023-08-31T10:34:38Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk\_de\_Boom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_de_boom/32/71591_2.png) [@Henk\_de\_Boom](https://community.homey.app/u/Henk_de_Boom)\
**Post date:** [August 31, 2023, 10:34am UTC](https://community.homey.app/t/sunset-offset/88458/1 "2023-08-31T10:34:38Z")

</div>

I like to start a flow X minutes before sunset. The sunset flowcard only allows X minutes after sunset.  
I tried it with -X minutes but this did not work.  
Anyone a solution for this?

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [August 31, 2023, 11:09am UTC](https://community.homey.app/t/sunset-offset/88458/2 "2023-08-31T11:09:05Z")

</div>

![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c5e3752cb397d8d358637432b3b2d20ebd88f728.jpeg)

Do you understand it this way?

---

<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:** [August 31, 2023, 12:35pm UTC](https://community.homey.app/t/sunset-offset/88458/3 "2023-08-31T12:35:46Z")

</div>

Do you probably mix up sunrise and sunset?  
This is the build-in flow-card _ **The sun sets in 10 minutes** _. So the flow is triggered/started 10 minutes **before sunset** :

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bfa7f3f52bec53d35b4948fd57280ad56f53130d.png)

So this should be exactly what you need, or do I misunderstand you?

> [@Theo\_de\_Koning](#):
>
> ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c5e3752cb397d8d358637432b3b2d20ebd88f728.jpeg)

Since when is it possible to select or enter negative times in the sunrise and sunset cards?  
I have only the possibility to select the predefined times in a drop-down field. Negative times are not included.

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

---

<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:** [August 31, 2023, 12:45pm UTC](https://community.homey.app/t/sunset-offset/88458/4 "2023-08-31T12:45:57Z")

</div>

Since Homey cloud 🤗

 ![Screenshot_20230831-144735_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/a/5ab2a0db6677ee2f19d8b645649b08ef5241663e.jpeg)

---

<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:** [August 31, 2023, 12:55pm UTC](https://community.homey.app/t/sunset-offset/88458/5 "2023-08-31T12:55:09Z")

</div>

So only with Homey Cloud?  
With my HP19 I’m not able to insert my own values, neither with normal flows nor with advanced flows. Only the drop-down field with the predefined values is available for me.

---

<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:** [August 31, 2023, 1:05pm UTC](https://community.homey.app/t/sunset-offset/88458/6 "2023-08-31T13:05:17Z")

</div>

Same here with pro 2019.  
Don’t know what’s possible with pro 2023 sun event cards…  
Anyone here with a pro 2023?

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [August 31, 2023, 1:14pm UTC](https://community.homey.app/t/sunset-offset/88458/7 "2023-08-31T13:14:01Z")

</div>

Just tested it. With the normal flows  
HP19 has a pull down menu with minutes. Like, 10, 15, 20 etc.  
HP23 has a free field to add the time, he accepts no negative times. So -10 can not be saved.

Not tested with advanced flows.

---

<div class="post-metadata">

**Author:** ![To\_Lou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/to_lou/32/79159_2.png) [@To\_Lou](https://community.homey.app/u/To_Lou)\
**Post date:** [August 31, 2023, 1:14pm UTC](https://community.homey.app/t/sunset-offset/88458/8 "2023-08-31T13:14:54Z")

</div>

What I miss is a And-card for ‘After xx min before sunset’.  
There is only And… After sunset.

HP23

---

<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:** [August 31, 2023, 1:23pm UTC](https://community.homey.app/t/sunset-offset/88458/9 "2023-08-31T13:23:05Z")

</div>

It’s very basic…

You’ll need the [Sun Events app](https://homey.app/en-gb/app/com.cyclone-software.sunevents/Sun-Events/), that one is very versatile

 ![Screenshot_20230831-152132_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/c/cc0b5d6a56fb91bb39ca42de2121e5f3694bb6fe.jpeg)

 ![Screenshot_20230831-152102_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/134799e56be9b079e6b3a43c63f3c72c87fb9048.jpeg)

---

<div class="post-metadata">

**Author:** ![To\_Lou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/to_lou/32/79159_2.png) [@To\_Lou](https://community.homey.app/u/To_Lou)\
**Post date:** [August 31, 2023, 2:24pm UTC](https://community.homey.app/t/sunset-offset/88458/10 "2023-08-31T14:24:37Z")

</div>

Thanks, I’ve been thinking about that one for a while. I’m going for it now.  
Just thinking this kind of basic feature should really be standard.

---

<div class="post-metadata">

**Author:** ![Henk\_de\_Boom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_de_boom/32/71591_2.png) [@Henk\_de\_Boom](https://community.homey.app/u/Henk_de_Boom)\
**Post date:** [August 31, 2023, 2:33pm UTC](https://community.homey.app/t/sunset-offset/88458/11 "2023-08-31T14:33:09Z")

</div>

Yes, I think I interpreted it the wrong way. Thx.  
I will try tonight.

Henk

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [August 31, 2023, 2:49pm UTC](https://community.homey.app/t/sunset-offset/88458/12 "2023-08-31T14:49:54Z")

</div>

The sun event cards do it the other way around.  
That feels not logic to me so I use the Date & Time cards.  
On a HP2023.

---

<div class="post-metadata">

**Author:** ![Henk\_de\_Boom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_de_boom/32/71591_2.png) [@Henk\_de\_Boom](https://community.homey.app/u/Henk_de_Boom)\
**Post date:** [September 1, 2023, 1:30pm UTC](https://community.homey.app/t/sunset-offset/88458/13 "2023-09-01T13:30:58Z")

</div>

Failed last night because the wife removed the test lamp.  
So tonight another try.

---

<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:** [September 1, 2023, 5:06pm UTC](https://community.homey.app/t/sunset-offset/88458/14 "2023-09-01T17:06:46Z")

</div>

> [@Henk\_de\_Boom](#):
>
> the wife removed the test lamp

I always use notification cards (Timeline/Simple Log) as well, especially while testing. This way you see the result, even if the device is removed, or broken.

---

<div class="post-metadata">

**Author:** ![Henk\_de\_Boom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_de_boom/32/71591_2.png) [@Henk\_de\_Boom](https://community.homey.app/u/Henk_de_Boom)\
**Post date:** [September 5, 2023, 9:43am UTC](https://community.homey.app/t/sunset-offset/88458/15 "2023-09-05T09:43:39Z")

</div>

So I mixed up sunrise and sunset. It works now.  
Thx.
