# Limit/pause notifications for X minutes

**URL:** <https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777>\
**Category:** Questions & Help\
**Created:** [July 17, 2023, 6:57pm UTC](https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777 "2023-07-17T18:57:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 17, 2023, 6:57pm UTC](https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777/1 "2023-07-17T18:57:56Z")

</div>

Hi, pretty new to homey. I have set up a flow, triggered by a camera, to send push notification and switch on lights. But as long as there is movement I keep getting many notifications. Is it possible to put a 10 minute ‘timeout’ on the pushes? Can’t put it after lights are switched off, then i would only get notifications at night 🙂

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

Johnny

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 17, 2023, 10:56pm UTC](https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777/2 "2023-07-17T22:56:26Z")

</div>

You can ignore triggers during X [time unit] when you start a timer Y with the lights and add a condition (‘And’) with “Timer Y is not running” between the trigger and the notification card

---

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 18, 2023, 8:06am UTC](https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777/3 "2023-07-18T08:06:07Z")

</div>

I think this does it…? Is there a way to see Cronographs countdown like with the delays? I put it with the push notifications because i still want the trigger to operate the lights regardless, just not flood me with notifications (made it 5 secs just for running tests).  
![image|690x292]

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

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 18, 2023, 12:30pm UTC](https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777/4 "2023-07-18T12:30:03Z")

</div>

> [@Jote](#):
>
> I think this does it…?

Yes, looks like it. You can test run the flow to visualise it.

> [@Jote](#):
>
> Is there a way to see Cronographs countdown like with the delays

1. You can add a new device, pick Chronograph, pick ‘Timer’ and select the timer of choice.  
 ![Screenshot_20230718-135849_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8fed0c51539f1d9d02d1a24b88a0d14eb94123de.jpeg)

BUT, at the mobile app, you’ll have to longpress the tile to actually view the running timer duration.

1. With an advanced virtual device from the device capabilities app, you can show the actually remaining / elapsed time in s/m/h/d, just how you prefer it  
 ![Screenshot_20230718-142505_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/a/9a85b6f09a408ac545cddca7c674edeb570a8b7d.jpeg)

Device Settings:

> ![Screenshot_20230718-142559_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/7860addb6078b2c55b9f7ad42f58aa30e7aa8b02.jpeg)

The duration unit is ms;  
The calc to show minutes = `Math.abs($value/1000/60)`

---

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 18, 2023, 2:40pm UTC](https://community.homey.app/t/limit-pause-notifications-for-x-minutes/84777/5 "2023-07-18T14:40:30Z")

</div>

Okay, thanks very much! Everyday will be a schoolday for a long while 😃
