# Homey Pro (Early 2023) - Sunset Flows

**URL:** <https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [April 29, 2023, 10:55pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866 "2023-04-29T22:55:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [April 29, 2023, 10:55pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/1 "2023-04-29T22:55:38Z")

</div>

I had a flow in HP16 that turned on some lights at Sunset. I had this set at 120 minutes before Sunset. This doesn’t work on HP23. I changed the value to 60 minutes, still did not work. Changed to 0 and they now turn on at sunset. I haven’t tried any other values.

---

<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 29, 2023, 11:11pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/2 "2023-04-29T23:11:29Z")

</div>

Check this app out, way more possibilities:

> **[Sun Events](https://homey.app/en-us/app/com.cyclone-software.sunevents/Sun-Events/)**
>
> Triggers you at certain positions of the sun.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [April 30, 2023, 2:31am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/3 "2023-04-30T02:31:25Z")

</div>

Will do. Thanks

---

<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:** [April 30, 2023, 5:10am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/4 "2023-04-30T05:10:38Z")

</div>

The max. offset of Sun Events is +/- 60 minutes, just for info.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [April 30, 2023, 6:42am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/5 "2023-04-30T06:42:05Z")

</div>

Are they HP23 limits? 120 worked with HP16. And now 60 doesn’t seem to work either.

---

<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:** [April 30, 2023, 9:46am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/6 "2023-04-30T09:46:30Z")

</div>

On the HP19 (and earlier) the max. offset of the Sun Events app is also +/- 60 minutes.  
I don’t know why the 120 minutes don’t work on the HP23. But I’m assuming it’s a bug. So please contact Athom.

---

<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 30, 2023, 1:01pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/7 "2023-04-30T13:01:23Z")

</div>

> [@DirkG](#):
>
> On the HP19 (and earlier) the max. offset of the Sun Events app is also +/- 60 minutes.

1. True, but, Peter B. noticed it didn’t work with the _onboard DateTime sun cards_;  
with my Pro '19 v8.1.3 I can select 120 minutes, for both sun events:  
 ![Screenshot_20230430-145659_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f09fef81a23e0282825110c3c8287cd64878b7c2.jpeg)

 ![Screenshot_20230430-151326_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a3517774b6c663ab948b71109600874e27020e1a.jpeg)

It’s silly (imho) that would’t be possible anymore with the Pro '23

1. The Sun Events app has way more events, like “when golden hour starts”  
With a little offset of 17minutes one can create an event, which triggers 120 minutes before sunset.

 ![Screenshot_20230430-150614_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/05fd18eaf6269e30868a5592d2b63a837bf72c0a.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:** [April 30, 2023, 1:15pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/8 "2023-04-30T13:15:11Z")

</div>

> [@Peter\_Kawa](#):
>
> It’s silly (imho) that would’t be possible anymore with the Pro '23
> 
> 1. The Sun

Please contact Athom support, not sure if it was ever changed in the original Homey but it is still different between Homey’s v8.x and Homey’s v10.x  
If it isn’t working correctly Athom has to fix it.

---

<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:** [April 30, 2023, 2:00pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/9 "2023-04-30T14:00:02Z")

</div>

@Peter_Kawa, please read my posts carefully.

> [@DirkG](#):
>
> The max. offset of Sun Events is +/- 60 minutes, **just for info**.

> [@DirkG](#):
>
> I don’t know why the 120 minutes don’t work on the HP23. But I’m assuming it’s a bug. So please contact Athom.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [May 7, 2023, 1:15am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/10 "2023-05-07T01:15:59Z")

</div>

I have to revise my issue. The values of up to 120 minutes do work. it was my Aeotec Smart Switch 6’s that aren’t turing on occasionally - no pattern. I get an error TRANSMIT\_COMPLETE\_FAIL.

---

<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:** [May 7, 2023, 2:57pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/11 "2023-05-07T14:57:13Z")

</div>

> [@DirkG](#):
>
> please read my posts carefully

Same goes for you mate 😉  
I was talking about the onboard Homey Date&Time sun events,

> ![Screenshot_20230507-165837_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/7/674b816ca7be3a45c8c5ab3b1a6dac7e6f56da0d.jpeg)

you were talking about Sun Events APP somehow,

> ![Screenshot_20230507-165854_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e2155cbd4c03fd56612a58203fc68a2d58c52eb2.jpeg)

which are two different things (on my Homey) 😊

---

<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:** [May 9, 2023, 7:36am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/12 "2023-05-09T07:36:30Z")

</div>

@Peter_Kawa, I don’t understand why you referring to me at all. My 1st post was purely informative, that in the Sun Events App, which you suggested, the maximum offset is +/- 60 minutes, no more and no less.  
And that the build-in function does not work properly, which Peter B. used and criticized, I mentioned it in my 2nd post. So I have confirmed what Peter B. has stated. Also no more and no less.

And since you apparently didn’t understand that (because you referred to me), I asked you to read my post correctly and quoted the content again and even partly marked it in bold ( **just for info** ).  
So in my first 2 posts I didn’t refer to your posts at all. So I don’t understand where the problem is. 🤷🏼‍♂️

* * *

@Peter_Bittner, the reason why I confirmed that the 120 minute offset no longer works with the build-in feature is that it’s not possible to enter 120 minutes and save them with the “Done/Ready” button. This button is grayed out:

 ![IMG_1985](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/a/3a7ed90e043197edf85ceed081f347cdf8bdd425.jpeg)

In the WebApp it’s possible to enter 120 minutes for standard flows as well as for advanced flows and also to save them. If this works, I have not checked yet.  
So there is still a bug, probably in the Smartphone App.

---

<div class="post-metadata">

**Author:** ![Peter\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_hendrix/32/8090_2.png) [@Peter\_Hendrix](https://community.homey.app/u/Peter_Hendrix)\
**Post date:** [May 9, 2023, 3:50pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/13 "2023-05-09T15:50:08Z")

</div>

There is a bug in HP23. The flow below does not give the expected result.  
I have already reported it.

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

Workaround for now:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63bb01249aad14c148107e82c4f4d958e15f840f.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:** [May 9, 2023, 8:58pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/14 "2023-05-09T20:58:55Z")

</div>

Hi Peter,

I was wondering why you use “it is after sunset” as condition to “The sun sets in 0 minutes”.  
An equal situation would be f.i.:  
“Peter is at home” as condition to “Peter came home”.  
Or:  
“It is raining” as condition to “It starts to rain”.

I think at that point in time when flow gets triggered, the condition card of the same event is just not updated yet.  
Imho it is a flow programming ‘error’ instead of a bug, what do you think?

---

<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:** [May 10, 2023, 8:20am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/15 "2023-05-10T08:20:12Z")

</div>

> [@Peter\_Hendrix](#):
>
> The flow below does not give the expected result.

I guess that the flow can’t work because the trigger card and the condition card are processed at the same time (more or less within a few milliseconds).  
If the trigger and the condition card are using full minutes for those kind of cards and the flow is triggered e.g. at 21:11, then the condition is also checked at 21:11. 21:11 is **not**  **after**  **sunset** , it **is**  **sunset**.  
Only Athom can answer whether this is true.

* * *

@Peter_Bittner, both flows, the standard flow and the advanced flow with an offset of 120 minutes, boil in the WebApp, are working like they should.  
So the only bug is, that’s not possible to set an offset of 120 minutes in the Homey smartphone app (iOS). I will report it Athom.

---

<div class="post-metadata">

**Author:** ![Peter\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_hendrix/32/8090_2.png) [@Peter\_Hendrix](https://community.homey.app/u/Peter_Hendrix)\
**Post date:** [May 10, 2023, 1:44pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/16 "2023-05-10T13:44:55Z")

</div>

@DirkG , nope… it takes several intervals of 10 seconds (not a full minute) before the state is correct. And… it works on my Homey Early 2019 😄

@Peter_Kawa : of course I will be happy to explain this. What I do is use state-full flows and of course these cards are not in the same flow normally.  
I will explain this in more detail later and add some clear examples when I have a bit more time.  
In the basis a flow is responsible for the state of the device (or a few devices) based on several conditions. I can run these flows at any give time and the device (lights) will assume the correct state (on/off/dim/color).  
This way I can call these flows at any given time from several triggers… but I will clarify it later in more detail cause it makes a lot of sense to do it in that way.

---

<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:** [May 10, 2023, 3:48pm UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/17 "2023-05-10T15:48:53Z")

</div>

Ah I see, thanks for the heads up.

---

<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:** [May 11, 2023, 7:45am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/18 "2023-05-11T07:45:38Z")

</div>

Tested your first flow on HP19 and HP23. The flow actually runs through on the HP19, but not on the HP23.  
However, this flow still makes absolutely no sense to me, I am interested in your examples.

> [@Peter\_Hendrix](#):
>
> t takes several intervals of 10 seconds

What makes you think it takes several 10 seconds (after the trigger card is activated) before the status is correct? If that is the case, then the flow should not go through at all when the “True/Blue” node is connected on the right.  
When a trigger card is activated (e.g. at a certain time, at sunset, by pressing a button), then the conditions are checked within a few milliseconds to see if the status is correct.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/6/36bff9c1166af47736b683609a81230a68456810.png)  
(This card was finished in 2 ms.)

But maybe I don’t understand you.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [May 12, 2023, 2:47am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/19 "2023-05-12T02:47:43Z")

</div>

Based on the discussion above I am wondering if the reason I am having trouble with my lighting flows (mainly with my SS’s not turning on and off reliably) is because of the construct of my flows, or because I have all my lighting flows in a single advanced flow.

Here is a link to my lighting flow. I’m hoping this is the correct way to share a flow.  
[Lighting Flow](https://my.homey.app/homeys/6405cb241f19900b82ed4321/flows/advanced/e361a345-ed6f-45e6-be35-7520eb7f975e)

---

<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:** [May 12, 2023, 8:09am UTC](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866/20 "2023-05-12T08:09:35Z")

</div>

> [@Peter\_Bittner](#):
>
> or because I have all my lighting flows in a single advanced flow.

No, that shouldn’t be the problem.

And no, this is not the right way to share AFs. AFs can only be shared via screenshot.  
Or via “The Flow Exchanger” with the Device Capabilities App, but that’s a different topic.  
So please post a screenshot from your AF.

[Next page](https://community.homey.app/t/homey-pro-early-2023-sunset-flows/79866.md?page=2)
