# Energy in flow, but for a certain amount ofo

**URL:** <https://community.homey.app/t/energy-in-flow-but-for-a-certain-amount-ofo/32819>\
**Category:** Flows\
**Created:** [July 26, 2020, 8:01am UTC](https://community.homey.app/t/energy-in-flow-but-for-a-certain-amount-ofo/32819 "2020-07-26T08:01:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)\
**Post date:** [July 26, 2020, 8:01am UTC](https://community.homey.app/t/energy-in-flow-but-for-a-certain-amount-ofo/32819/1 "2020-07-26T08:01:01Z")

</div>

I have a device that has a weird energy use. It’s sometimes high and low but for a short amount of time. It isn’t viable in insights (because it reports on the minute) but with Papertrails I’ve been able to log those fluctuations. It reports that within the minute it goes below 1 and up to 100.

Is there a way to replace _this_ flow with something like _that_?

_This_ =  
WHEN energy changes  
AND energy is below 1W

_That_ =  
WHEN energy changes  
AND energy is below 1W for 1 minute

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [July 26, 2020, 8:11am UTC](https://community.homey.app/t/energy-in-flow-but-for-a-certain-amount-ofo/32819/2 "2020-07-26T08:11:28Z")

</div>

Make three flows:

Flow1  
WHEN energy changes  
AND below 1W, timer is not runing  
THEN start a timer of 1 minute

Flow2  
WHEN enegry changes  
AND above 1W and timer is runing  
THEN stop timer

Flow3  
WHEN timer is empty  
THEN do you thing
