# Count notifications

**URL:** https://community.homey.app/t/count-notifications/41585
**Category:** Questions & Help
**Tags:** app, flow
**Created:** [January 21, 2021, 11:04pm UTC](https://community.homey.app/t/count-notifications/41585 "2021-01-21T23:04:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Edward\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edward_w/32/30035_2.png) [@Edward\_W](https://community.homey.app/u/Edward_W)
#### Post date: [January 21, 2021, 11:04pm UTC](https://community.homey.app/t/count-notifications/41585/1 "2021-01-21T23:04:02Z")

</div>

Hi there,

I’ve made some flows where i will receive a notification when there is zone activity between 23.30 and 06.30.

I would like to receive the number of times the notification was send in that timeblock at 06.31 each day, so after the count it has to be resetted to 0 for the next day.

I can’t seem to figure out such a flow, neighter can i find an app that does.

Does someone know such an app or how to create such a flow?

---

<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: [January 22, 2021, 5:07am UTC](https://community.homey.app/t/count-notifications/41585/2 "2021-01-22T05:07:13Z")

</div>

Examples

[https://homey.app/f/Fe9vEs](https://homey.app/f/Fe9vEs)

[https://homey.app/f/ubwvEs](https://homey.app/f/ubwvEs)

---

<div class="post-metadata">

### Author: ![Edward\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edward_w/32/30035_2.png) [@Edward\_W](https://community.homey.app/u/Edward_W)
#### Post date: [January 22, 2021, 8:08am UTC](https://community.homey.app/t/count-notifications/41585/3 "2021-01-22T08:08:42Z")

</div>

Thanks, i wil try that. But i can’t make a calculation with the logic from homey. Did you made that with ‘better logic’?

With the homey logic i can only see this.

 ![Screenshot_20210122-092152_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/c/3c1fd2ceca65e7692f8ecfcf38f76671cfe4c3ef.jpeg)

---

<div class="post-metadata">

### Author: ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)
#### Post date: [January 22, 2021, 8:33am UTC](https://community.homey.app/t/count-notifications/41585/4 "2021-01-22T08:33:24Z")

</div>

“calculate a number variable” is a flow card, you don’t make the calculation in the screen you are in now, that is only to create a variable, but do that with the calculate flow card  
So:

1. Create a number variable
2. Calculate what you want in the flow card

---

<div class="post-metadata">

### Author: ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)
#### Post date: [January 22, 2021, 8:56am UTC](https://community.homey.app/t/count-notifications/41585/5 "2021-01-22T08:56:13Z")

</div>

> [@Edward\_W](#):
>
> ‘better logic’

You don’t need better logic, you can use the internal logic cards.

The logic card for the calculation looks like this in detail:

 ![83532742-F37D-487A-986E-95FB009300C4_1_201_a](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/b/0ba638c4fecea2aed30567829b07e6bd69f06f98.jpeg)

The variable “MovementCount” is a self-created, numeric variable.

---

<div class="post-metadata">

### Author: ![Edward\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edward_w/32/30035_2.png) [@Edward\_W](https://community.homey.app/u/Edward_W)
#### Post date: [January 22, 2021, 10:48am UTC](https://community.homey.app/t/count-notifications/41585/6 "2021-01-22T10:48:21Z")

</div>

Thanks all, i’ve made the flows. Hopefully everthing works, but i will see that tomorrow.
