# Raining alert once in 30 minutes

**URL:** https://community.homey.app/t/raining-alert-once-in-30-minutes/1505
**Category:** Questions & Help
**Created:** [September 10, 2018, 10:54pm UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505 "2018-09-10T22:54:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Tupangitim](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tupangitim/32/941_2.png) [@Tupangitim](https://community.homey.app/u/Tupangitim)
#### Post date: [September 10, 2018, 10:54pm UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/1 "2018-09-10T22:54:00Z")

</div>

Hi Fellow Homey User,

I need help with a flow to notify me only once in 30 minutes. See my flow below.

What happened is im getting notification almost every minute when drizzling.

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

Please advise.

Thank you

---

<div class="post-metadata">

### Author: ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)
#### Post date: [September 11, 2018, 3:31am UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/2 "2018-09-11T03:31:36Z")

</div>

Which water sensor are u using as a rain detector?  
I’m curios as I’ve not had luck with one that works well without draining the battery fast…

Create a better logic variable,  
name it notification or something. Either a boolean or number,  
then set the variable to true or as the example below, i increment it 1 time. And the flow will stop once it notify me twice that the ziptrak is closed.

You then need to create another flow to reset the better logic variable when u open the ziptrak for e.g…  
Or in your case, every 30mins, set variable to 0 or false…

 ![39%20AM](https://us1.discourse-cdn.com/flex025/uploads/athom/original/1X/7bbfdba4392094def06a3fd26874a95c7bcd8241.png)

---

<div class="post-metadata">

### Author: ![Tupangitim](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tupangitim/32/941_2.png) [@Tupangitim](https://community.homey.app/u/Tupangitim)
#### Post date: [September 11, 2018, 3:54am UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/3 "2018-09-11T03:54:58Z")

</div>

Im using Aeotec water sensor but app from automate Asia. Works fine with me.

Found a countdown timer app and this resolved my problem.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/1X/39edc13e65ae9d1d71419da86d3f69eb4452619f.jpeg)

Thank you

---

<div class="post-metadata">

### Author: ![Tupangitim](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tupangitim/32/941_2.png) [@Tupangitim](https://community.homey.app/u/Tupangitim)
#### Post date: [September 11, 2018, 3:56am UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/4 "2018-09-11T03:56:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Canedje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/canedje/32/8324_2.png) [@Canedje](https://community.homey.app/u/Canedje)
#### Post date: [September 11, 2018, 5:51am UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/5 "2018-09-11T05:51:37Z")

</div>

I also use a counter for counting 15minutes for raindetection by “buienalarm”  
Setting the counter when rain is detected

 ![Knipsel](https://us1.discourse-cdn.com/flex025/uploads/athom/original/1X/4f22434bda2eb66ccc948988a6d8414e0e57db57.png)

---

<div class="post-metadata">

### Author: ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)
#### Post date: [September 11, 2018, 1:00pm UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/6 "2018-09-11T13:00:44Z")

</div>

Or if u use the candy app, u can use the card “this flow is ran in the last 30mins”…  
much cleaner than the timer Unless u need to trigger an action on timeout…

---

<div class="post-metadata">

### Author: ![Lamzak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lamzak/32/8734_2.png) [@Lamzak](https://community.homey.app/u/Lamzak)
#### Post date: [September 11, 2018, 5:11pm UTC](https://community.homey.app/t/raining-alert-once-in-30-minutes/1505/7 "2018-09-11T17:11:47Z")

</div>

you can also set a card turn off flow followd by a turn on flow card with a timer on it. I this case the flow turns itself off after doing the jobs and goes back on after 30min waiting. No need for extra apps this way.
