# Water heater flow

**URL:** <https://community.homey.app/t/water-heater-flow/111070>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [June 5, 2024, 11:00am UTC](https://community.homey.app/t/water-heater-flow/111070 "2024-06-05T11:00:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kikegf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kikegf/32/81265_2.png) [@Kikegf](https://community.homey.app/u/Kikegf)\
**Post date:** [June 5, 2024, 11:00am UTC](https://community.homey.app/t/water-heater-flow/111070/1 "2024-06-05T11:00:36Z")

</div>

Hello  
I am a newbie con homey pro flows, and I don’t manage to make a water heater flow. I just want to heat water between 4:00 am and 7:30 am between 55ºC and 65ºC, and also to turn off heater at 7:30. Also I want create a security flow to turn off Heater when water reach 70ºC every moment. Now I have this flows

 ![Captura de pantalla 2024-06-05 a las 11.59.32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/15ebc7933f8a0f9cb7256bb3bb110a7e634674aa.png)  
 ![Captura de pantalla 2024-06-05 a las 11.59.51](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f111963d4f047ace60dd65853bc45592f5ed2637.jpeg)  
 ![Captura de pantalla 2024-06-05 a las 12.00.09](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0e56568fbf2e6092a0561a547a2f5ebe22911e06.png)  
 ![Captura de pantalla 2024-06-05 a las 12.00.25](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/4/e472775838d4c0749f06c8e7987cbe151943ee7f.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [June 5, 2024, 11:44am UTC](https://community.homey.app/t/water-heater-flow/111070/2 "2024-06-05T11:44:14Z")

</div>

Hi @Kikegf

Your flows could work, but tell us what is the problem you are facing?  
Besides that, I would recommend the following:

1. Avoid the use of every 1 min/hour cards: when used in multiple flows, they cause big CPU peaks and it may cause motion sensor actions to be delayed.

- Your first card can be replaced with:  
WHEN 04:00 AND off AND \<55 THEN on  
WHEN temperature\<55 AND off AND 04:00-07:30 THEN turn on

1. Avoid the (non limited, like 24h) use of WHEN…has changed for temperature, humidity, luminance, etc. For the same reason as 1. These values can change every second and Homey will be running these flows constantly.

- Your second card can be replaced with:  
When temperature\>65 AND on AND 04:00-07:30 THEN turn off

1. Your third card is fine, it turns off the heater at 07:30

2. The fourth card can be replaced like in 2:  
When temperature\>69 AND on THEN turn off

3. Before you get too experienced with simple flows, I would really recommend advanced flows. They will give you a better overview and easier maintenance plus a number of other benefits

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

---

<div class="post-metadata">

**Author:** ![Kikegf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kikegf/32/81265_2.png) [@Kikegf](https://community.homey.app/u/Kikegf)\
**Post date:** [June 5, 2024, 12:10pm UTC](https://community.homey.app/t/water-heater-flow/111070/3 "2024-06-05T12:10:23Z")

</div>

wow!! Thank you very much!! impressive the advanced flow!! I explain you what I want, to see if that matches in that flow. I want my heater working only between 4 am and 7:30 am, and I want it to turn on when temperature it’s below 55ºC and stop when reaches 65ºC, because it’s when we shower at home so to keep water warm

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [June 5, 2024, 12:25pm UTC](https://community.homey.app/t/water-heater-flow/111070/4 "2024-06-05T12:25:13Z")

</div>

You are welcome. Just follow the flow from each trigger and lmk if you have any questions.

---

<div class="post-metadata">

**Author:** ![Kikegf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kikegf/32/81265_2.png) [@Kikegf](https://community.homey.app/u/Kikegf)\
**Post date:** [June 5, 2024, 1:00pm UTC](https://community.homey.app/t/water-heater-flow/111070/5 "2024-06-05T13:00:17Z")

</div>

1. Triggers are independent? I mean, the flow starts when one trigger match the parameters, it doesn’t need to have all triggers jump together.

2. The time triggers and the delay, means that when its 4:00 am the trigger starts and runs every second until 7:30?

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [June 5, 2024, 1:14pm UTC](https://community.homey.app/t/water-heater-flow/111070/6 "2024-06-05T13:14:28Z")

</div>

> [@Kikegf](#):
>
> Triggers are independent? I mean, the flow starts when one trigger match the parameters, it doesn’t need to have all triggers jump together.

Correct. It helps to have each trigger follow the same, central logic

> [@Kikegf](#):
>
> The time triggers and the delay, means that when its 4:00 am the trigger starts and runs every second until 7:30?

No, it means that at 4:00am the flow delays for 1 second and then evaluates the next steps. This is to make sure that the time falls within 4:00-7:30. An alternative approach is to trigger at 4:01
