# Build a advanced flow

**URL:** <https://community.homey.app/t/build-a-advanced-flow/96932>\
**Category:** Questions & Help\
**Tags:** advancedflow\
**Created:** [December 6, 2023, 8:28am UTC](https://community.homey.app/t/build-a-advanced-flow/96932 "2023-12-06T08:28:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crazyfrog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crazyfrog/32/79349_2.png) [@Crazyfrog](https://community.homey.app/u/Crazyfrog)\
**Post date:** [December 6, 2023, 8:28am UTC](https://community.homey.app/t/build-a-advanced-flow/96932/1 "2023-12-06T08:28:11Z")

</div>

Hi,

Having some issues figuring this one out.

I have recently bought a new dryer and washing machine (Samsung) which is connected with Wifi and smarthings so everything is up and running in Homey.  
I have 3 kids, which is added to homey, and i want to “assist” them in remembering to empty the machines.  
I have the push notifications down and noting in a google spreadsheet then they get a notification and all works, BUT, i cant see how to give them a schedule for every third week.  
Any suggestions on how to achieve this ?

Clearify, i want kid 1 to have week 1, kid 2 week 2 and kid 3 week 3, and then repeat 🙂

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [December 6, 2023, 9:03am UTC](https://community.homey.app/t/build-a-advanced-flow/96932/2 "2023-12-06T09:03:01Z")

</div>

Weeknumber MODULO 3 gives 0, 1 or 2 depending on the weeknumber.

---

<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:** [December 6, 2023, 2:35pm UTC](https://community.homey.app/t/build-a-advanced-flow/96932/3 "2023-12-06T14:35:23Z")

</div>

You can use a number variable. This variable can be calculated every e.g. Monday at 02:00 AM: Value + 1. After the week with the value 3 of the variable, set the variable to 1.

---

<div class="post-metadata">

**Author:** ![Crazyfrog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crazyfrog/32/79349_2.png) [@Crazyfrog](https://community.homey.app/u/Crazyfrog)\
**Post date:** [December 8, 2023, 3:50pm UTC](https://community.homey.app/t/build-a-advanced-flow/96932/4 "2023-12-08T15:50:44Z")

</div>

How can i make it calculate ?  
I am new to Homey 🙂

---

<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:** [December 9, 2023, 2:01pm UTC](https://community.homey.app/t/build-a-advanced-flow/96932/5 "2023-12-09T14:01:45Z")

</div>

This is an example how to change a numeric variable every Monday at 2 a.m., so that an other kid is responsible this week for the laundry:

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

This variable can now be used to ensure that only the responsible kid receives the push notification.

Btw, if a flow card contains an **(i)**, you can click on it and receive information about this card:

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

* * *

Another solution, and in my opinion a simpler and more flexible solution, is to use the [IcalCalendar](https://homey.app/en-de/app/no.runely.calendar/IcalCalendar/) app. If you need examples of this, please have a look at the corresponding topic here in the forum ([Link](https://community.homey.app/t/app-pro-icalcalendar/80708)), use the forum search function or get in touch again.
