# Sun rise/set times in Date & Time early available?

**URL:** <https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617>\
**Category:** Questions & Help\
**Created:** [January 1, 2024, 10:17am UTC](https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617 "2024-01-01T10:17:29Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [January 1, 2024, 10:17am UTC](https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617/1 "2024-01-01T10:17:29Z")

</div>

For control purposes I like to have the sun rise/set times in Date & Time earlier then the moment of action.  
Active in flows or simple visually.

In other app they are early available but cant be used in the flows.  
They are also giving different time values so using them both is not giving the right control.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 1, 2024, 10:20am UTC](https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617/2 "2024-01-01T10:20:32Z")

</div>

You mean these?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c462e72ac922c6f61cd25063b8d7df107afb0516.png)

For example when you want it to trigger 30 minutes before the sun rises:

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

---

<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:** [January 1, 2024, 10:30am UTC](https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617/3 "2024-01-01T10:30:57Z")

</div>

Yes, I use them daily in my flows.

But that’s the only moment that you can get the sun rise/set times with the 0 minutes value.  
Where is that card get the sun rise/set times and can we get it from there.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [January 1, 2024, 10:38am UTC](https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617/4 "2024-01-01T10:38:14Z")

</div>

So you would to know **now** at what time today the sun sets? In a logic THEN card? To you can store that time in a variable?  
Maybe you can scetch your use case, so I can understand your goal?  
Sunrise is already available:

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

---

<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:** [January 1, 2024, 10:59am UTC](https://community.homey.app/t/sun-rise-set-times-in-date-time-early-available/99617/5 "2024-01-01T10:59:22Z")

</div>

Oops 😳

It seems that I have looked to the wrong tag block to find the sun rise/set values. The logic one.  
An quick test and variables I already used are OK now.
