# Water sprinklers

**URL:** <https://community.homey.app/t/water-sprinklers/84096>\
**Category:** Flows\
**Created:** [July 6, 2023, 6:22pm UTC](https://community.homey.app/t/water-sprinklers/84096 "2023-07-06T18:22:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wouter\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouter_k/32/77512_2.png) [@Wouter\_K](https://community.homey.app/u/Wouter_K)\
**Post date:** [July 6, 2023, 6:22pm UTC](https://community.homey.app/t/water-sprinklers/84096/1 "2023-07-06T18:22:47Z")

</div>

Hi, I have a pump and sprinklers in my garden. I now use a flow thats checks the maximum temperature and the total mm of rain. I use open weather app.  
The problem is: when it is raining a lot lets say on monday, and on tuesday is is dry, then the sprinkers are activated on tuesday morning.  
I would like to somehow use the total amount of rain over the past 2 or 3 days and on this amount descide if it is needed to use the sprinkers. I would prefer to use the sprinkers once every 3 days. I just dont know how i can make a good flow for this. The biggest problem is that i dont know how to make a sum of the mm of rain about the past 3 days. Can anyone help me out a bit? Best regards, wouter

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [July 7, 2023, 5:35am UTC](https://community.homey.app/t/water-sprinklers/84096/2 "2023-07-07T05:35:08Z")

</div>

Some ideas / discussions:

> [@Keep precipitation for 10 days in an array or fifo queue with 10 places and add a new value every day](https://community.homey.app/t/keep-precipitation-for-10-days-in-an-array-or-fifo-queue-with-10-places-and-add-a-new-value-every-day/83472):
>
> Can that be done in an (advanced) flow? If so, would you have an example for me? Thanks!

> [@Trigger water sprinkler based on weather history last 14 days](https://community.homey.app/t/trigger-water-sprinkler-based-on-weather-history-last-14-days/83284):
>
> I need your support to achieve a efficent flow for watering my garden. Today I have a simple flow based on time, day and weather from SMHI. It works, but it only take into consideration that it’s not rain today. If it has been raining for 14 days I don’t need to start the water the first sunny day. I also have in mind to use same logic but inverted for the lawnmower. If it has been sunny for weeks it doesn’t need to cut the grass as often as normal conditions. I’m new into Homey and I don’t h…
