# Efficient flows

**URL:** <https://community.homey.app/t/efficient-flows/5856>\
**Category:** Questions & Help\
**Created:** [December 24, 2018, 3:42pm UTC](https://community.homey.app/t/efficient-flows/5856 "2018-12-24T15:42:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [December 24, 2018, 3:42pm UTC](https://community.homey.app/t/efficient-flows/5856/1 "2018-12-24T15:42:44Z")

</div>

Hi everybody!  
I have been playing with Homey for some time now. Homey is step-by-step replacing my trusty Homewizard.  
(Geolocalisation is one function for which I still absolutely need my homewizard)

I find the homewizard tasks in many respects better than those “flow” of homey. Where I need one single Homewizard “task”, very often I need more than one “flow” using Homey.

An example:  
I want curtains to close 10minutes after sunset. No problem for Homewizard, problematic for Homey. In homey, I am supposed to used timers, but they tend to overload the CPU.

Does anyone know how to realise the below function in one single Homey “flow”?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/7e19c6823435f5215b43690564269b92e298bf1c.png)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Somhorst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_somhorst/32/184_2.png) [@Jeroen\_Somhorst](https://community.homey.app/u/Jeroen_Somhorst)\
**Post date:** [December 24, 2018, 3:57pm UTC](https://community.homey.app/t/efficient-flows/5856/3 "2018-12-24T15:57:34Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e3066e1e53c378bc9b431da1a50396cd1c26c64b.jpeg)

maybe this helps?

---

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [December 24, 2018, 4:19pm UTC](https://community.homey.app/t/efficient-flows/5856/4 "2018-12-24T16:19:36Z")

</div>

You can even set the delay as 2-15 min, to close the curtains between 2 and 15 minutes after sunset to get some variance in the closing time.

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [December 24, 2018, 4:37pm UTC](https://community.homey.app/t/efficient-flows/5856/5 "2018-12-24T16:37:38Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [December 24, 2018, 5:19pm UTC](https://community.homey.app/t/efficient-flows/5856/7 "2018-12-24T17:19:38Z")

</div>

😁  
It’s a solution, but it will not win a beauty contest.  
Every curtain has a timer running, again highering the CPU load .  
Home wizard basically has this timer integrated into the first condition.!

[Screenshot\_20181224-204115|281x500](https://community.homey.app/uploads/short-url/qIrIVkNgtaK7Xx7imbH0lm1gSQm.jpeg)

 ![Screenshot_20181224-204115](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/bb3ebf90c7d8cfd2ae3725de623138ce83b0d696.jpeg)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [December 24, 2018, 6:55pm UTC](https://community.homey.app/t/efficient-flows/5856/8 "2018-12-24T18:55:55Z")

</div>

Could you create a flow that closes all the curtains and then run that flow from a timer. That way only one timer.

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [December 24, 2018, 9:15pm UTC](https://community.homey.app/t/efficient-flows/5856/9 "2018-12-24T21:15:38Z")

</div>

If you install the “sun events” app, it allows you to set a delayed time to the “when” sunrise event.  
Plus it gives you much more options which probably fit you curtains flow better (many moments of the sun path in the sky)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/45e122448c129c6075fa2306378271d154422435.jpeg)

---

<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:** [December 25, 2018, 10:31am UTC](https://community.homey.app/t/efficient-flows/5856/10 "2018-12-25T10:31:53Z")

</div>

> [@Jan\_Peeters](#):
>
> Every curtain has a timer running, again highering the CPU load .

Do timers really increase CPU load? Because I never noticed that.

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [December 25, 2018, 7:07pm UTC](https://community.homey.app/t/efficient-flows/5856/11 "2018-12-25T19:07:15Z")

</div>

> [@robertklep](#):
>
> ad? Bec

Well, it is a clockfunction, no?

---

<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:** [December 25, 2018, 9:00pm UTC](https://community.homey.app/t/efficient-flows/5856/12 "2018-12-25T21:00:03Z")

</div>

> [@Jan\_Peeters](#):
>
> Well, it is a clockfunction, no?

The good thing about clock functions, and timers, is that they’re idle most of the time.
