# Flow when sensor has value more than a day

**URL:** <https://community.homey.app/t/flow-when-sensor-has-value-more-than-a-day/46063>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [April 10, 2021, 10:33pm UTC](https://community.homey.app/t/flow-when-sensor-has-value-more-than-a-day/46063 "2021-04-10T22:33:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roeller](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roeller/32/39146_2.png) [@Roeller](https://community.homey.app/u/Roeller)\
**Post date:** [April 10, 2021, 10:33pm UTC](https://community.homey.app/t/flow-when-sensor-has-value-more-than-a-day/46063/1 "2021-04-10T22:33:06Z")

</div>

Hello,

I have the Homey Pro with a couple of BlueTooth Xiaomi MiFlora Plant sensors.

I can create a flow for when a sensor is outside the predefined values (send a push notification). However, if a sensor is outside the predefined values for just half an hour that shouldn’t be a problem (maybe I just watered the plants and so the % humidity is very high the first few minutes)

That’s why I have the following question;

Is it possible to send a push notification ONLY when a sensor is outside the predefined value for MORE than a day?

If someone has a solution,… even if it’s a solution with a variable and two flows… please share.

Kind regards

Roel

---

<div class="post-metadata">

**Author:** ![peltsi51](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peltsi51/32/12564_2.png) [@peltsi51](https://community.homey.app/u/peltsi51)\
**Post date:** [April 11, 2021, 7:07am UTC](https://community.homey.app/t/flow-when-sensor-has-value-more-than-a-day/46063/2 "2021-04-11T07:07:58Z")

</div>

Flow1  
When humidity value change  
And humidity value is greater than yyy  
And coundown timer xxx is not running  
Then start coundown timer xxx for 24h

Flow2  
When humidity change  
And humidity value is lower than zzz  
And coundown timer xxx is running  
Then stop coundown timer xxx

Flow3  
When coundown timer xxx reached zero  
Then send notification to the gardener

You can find the coundown app in the app store

---

<div class="post-metadata">

**Author:** ![Roeller](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roeller/32/39146_2.png) [@Roeller](https://community.homey.app/u/Roeller)\
**Post date:** [April 11, 2021, 11:01pm UTC](https://community.homey.app/t/flow-when-sensor-has-value-more-than-a-day/46063/3 "2021-04-11T23:01:42Z")

</div>

Thank you @peltsi51, that’s very helpfull!
