# Activate a flow every 1st day of the month?

**URL:** <https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161>\
**Category:** Flows\
**Tags:** flow\
**Created:** [May 7, 2021, 8:15am UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161 "2021-05-07T08:15:22Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steef\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steef_de_koning/32/8129_2.png) [@Steef\_de\_Koning](https://community.homey.app/u/Steef_de_Koning)\
**Post date:** [May 7, 2021, 8:15am UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/1 "2021-05-07T08:15:22Z")

</div>

I would can I activate a flow every first day of the month?  
I would like to use this to reset the value in my Neo Cool am power plugs.  
Thanks

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [May 7, 2021, 8:23am UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/2 "2021-05-07T08:23:31Z")

</div>

AND (date and time) day number is 1 ?

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 7, 2021, 9:37am UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/3 "2021-05-07T09:37:50Z")

</div>

Sure, but what’s the trigger?  
Every day? Then when will to do that? at 00.00hrs?  
Or every Hour? But isn’t it then quite a load on the system which is inefficient for something to be executed every month?

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [May 7, 2021, 9:42am UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/4 "2021-05-07T09:42:36Z")

</div>

WHEN time is 00:05. He need to reset just once.  
Will trigger every day just once so.

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 7, 2021, 10:43am UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/5 "2021-05-07T10:43:57Z")

</div>

👍

---

<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:** [May 7, 2021, 4:17pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/6 "2021-05-07T16:17:49Z")

</div>

An alternative to Roco’s fine solution:  
This _should_ work, but I’ve no info about the time it triggers. My guess is it triggers at the moment when the date & month changes, just after midnight.

 ![Screenshot_20210507-181359_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/c/5ca8bf1242c54402cc50bffe8be83710300a8283.jpeg)

---

<div class="post-metadata">

**Author:** ![Krzysiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krzysiek/32/34025_2.png) [@Krzysiek](https://community.homey.app/u/Krzysiek)\
**Post date:** [January 27, 2023, 1:22pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/7 "2023-01-27T13:22:28Z")

</div>

Does this actually work for you? I have couple of flows that should trigger every 1 month but they never do! I use them in an advanced flow where I have 2 triggers: “every 1 month” and “the time is 7:00”. Those two go to an “all” card so I thought that whenever the “every 1 month” triggers, it would register and then when it is 7:00 both conditions would be met and the flow would continue but it never does.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [January 27, 2023, 4:29pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/8 "2023-01-27T16:29:48Z")

</div>

The ALL card could be the problem. Try ANY. I have no clue what to do with ALL, it never works. As I understand All means all triggers have to respond at the same time.

---

<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:** [January 27, 2023, 5:36pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/9 "2023-01-27T17:36:38Z")

</div>

What Marcel writes! 👆

The flow you @Krzysiek want / need is one of these. Note the downside of using the default delay.

 ![Screenshot 2023-01-27 at 18-43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4a3c6d14148292681d5346e7dc8b32d8704cd9c8.png)

---

<div class="post-metadata">

**Author:** ![Ria\_Banis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ria_banis/32/7966_2.png) [@Ria\_Banis](https://community.homey.app/u/Ria_Banis)\
**Post date:** [January 27, 2023, 5:44pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/10 "2023-01-27T17:44:39Z")

</div>

This results in a report on every 1st of the month

[https://homey.app/f/fN-kQn](https://homey.app/f/fN-kQn)

---

<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:** [January 27, 2023, 5:47pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/11 "2023-01-27T17:47:34Z")

</div>

That’s better/easier Ria!  
Krzysiek then could use “when the time is 07:00”

---

<div class="post-metadata">

**Author:** ![Krzysiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krzysiek/32/34025_2.png) [@Krzysiek](https://community.homey.app/u/Krzysiek)\
**Post date:** [January 27, 2023, 9:59pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/12 "2023-01-27T21:59:29Z")

</div>

That’s exactly what I added to my advanced flow after writing the post and looking through the different “when” and “and” cards but I was a bit afraid that it might not work either so thank you for the tip! This will work really well for my data export flow.  
I still need something that will be triggered once a month but not on the same day of the month.  
Interesting what you write about the “all” card @Marcel_Ubels. I always assumed that the card waits for other triggers but it seems like it only starts or activates further part of the flow if all the conditions are met when the flow is initiated.

---

<div class="post-metadata">

**Author:** ![Krzysiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krzysiek/32/34025_2.png) [@Krzysiek](https://community.homey.app/u/Krzysiek)\
**Post date:** [January 28, 2023, 5:31pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/13 "2023-01-28T17:31:25Z")

</div>

Another solution that I got as a suggestion is to use a counter. It was suggested to me in this thread: [How exactly does the "all" block working? - #5 by Dijker](https://community.homey.app/t/how-exactly-does-the-all-block-working/74644/5)

I also added another “AND” card to it so instead of counting 31 days I will count 4: every day at 8:00 I will check if it is Thursday and if yes, I will increase the counter. When it reaches 4 and resets to 0, it means that 28 days passed - I wanted this flow to trigger once a month on a Thursday.

 ![Screenshot 2023-01-28 at 18.26.37](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/2/72a866f2d914fd677fb3e35a05e6d714155f8c53.jpeg)

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [January 28, 2023, 7:16pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/14 "2023-01-28T19:16:10Z")

</div>

> [@Krzysiek](#):
>
> I wanted this flow to trigger once a month on a Thursday.

So if the first Thursday is a 1st, 2nd or 3rd of the month this flow triggers probably twice that month…

Is that what you want?

---

<div class="post-metadata">

**Author:** ![Krzysiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krzysiek/32/34025_2.png) [@Krzysiek](https://community.homey.app/u/Krzysiek)\
**Post date:** [January 28, 2023, 7:50pm UTC](https://community.homey.app/t/activate-a-flow-every-1st-day-of-the-month/47161/15 "2023-01-28T19:50:40Z")

</div>

Yes, because for this specific flow, it does not matter if it happens within the same month or not, what my goal is, is to get notified every 4 Thursdays essentially and if there are 5 Thursdays in a month, that’s ok.

Thank you for the comment though because for another flow this could matter and I might have missed that.

For the flow that I want to trigger once a month, your solution is of course the way to go.
