# Create flow for thursday on odd weeks?

**URL:** https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611
**Category:** Flows
**Created:** [November 24, 2022, 5:31pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611 "2022-11-24T17:31:41Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Syswatch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/syswatch/32/65453_2.png) [@Syswatch](https://community.homey.app/u/Syswatch)
#### Post date: [November 24, 2022, 5:31pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/1 "2022-11-24T17:31:41Z")

</div>

Hello Guys,  
Can anyone help me build a flow, that starts every thursdag on odd weeks ?  
I cant seem to find a option for odd/even weeks.

---

<div class="post-metadata">

### Author: ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)
#### Post date: [November 24, 2022, 6:17pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/2 "2022-11-24T18:17:11Z")

</div>

Easy enough starting a flow every 14 days but unsure off the top of my head about every Thursday on odd weeks. I can see logic cards and maths being used.  
Starting on a Thursday could be done manually and let the flow run but there will likely be a more elegant way than that

---

<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: [November 24, 2022, 6:39pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/3 "2022-11-24T18:39:57Z")

</div>

Something like this.  
The result is true today btw 😉

Between Thursday and Thursday is a bit strange, but you’d read it like timestamps:  
Between Thursday 0:00 hrs (new day)  
and Thursday 23:59:59 hrs (end of day)

---

<div class="post-metadata">

### Author: ![Syswatch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/syswatch/32/65453_2.png) [@Syswatch](https://community.homey.app/u/Syswatch)
#### Post date: [November 24, 2022, 7:46pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/4 "2022-11-24T19:46:32Z")

</div>

My Weeknumber looks like this:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2cf959f19315f54d8ea1c0c8a2ec01348b480189.png)

I cant pick ODD or EVEN, is something wrong ?

---

<div class="post-metadata">

### Author: ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)
#### Post date: [November 24, 2022, 8:29pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/5 "2022-11-24T20:29:09Z")

</div>

Interesting. I have as Peter has shown, in advanced flows, and can invert it to be even weeks. Not sure how your example has happened.

---

<div class="post-metadata">

### Author: ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)
#### Post date: [November 24, 2022, 8:29pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/6 "2022-11-24T20:29:48Z")

</div>

Cold even add a time of day condition as well

---

<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: [November 24, 2022, 9:07pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/7 "2022-11-24T21:07:55Z")

</div>

> [@Syswatch](#):
>
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2cf959f19315f54d8ea1c0c8a2ec01348b480189.png)
> 
> I cant pick ODD or EVEN, is something wrong ?

That’s ODD (sorry, couldn’t resist 😉).  
Looks like a translation error of some kind, because {{odd|even}} should be in the code, not in the card.  
In English it shows as:

 ![Screenshot from 2022-11-24 22-05-15](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/cac5428083f1900a1cb184560c0ffe5847eb5ddd.png)

.

So, to see for myself I changed Homey’s language to Danish, and:

### Confirmed it has something to do with the translation to Danish. There’s also another card with {{some-text}}

 ![Screenshot from 2022-11-24 22-19-42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/090c085e915805db60484854080523c9740552c1.png)

_I just reported this issue to Athom @ Slack, and it will be fixed with one of future firmware updates._

.

> [@Philip\_Montgomery](#):
>
> Cold even add a time of day condition as well

The trigger I used triggers right after midnight, so I think one should trigger the flow like “When it is 09:00 AM”  
Then, that flow starts the action cards on Thursdays on odd weeks at 9 AM

---

<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: [November 25, 2022, 7:49am UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/8 "2022-11-25T07:49:58Z")

</div>

> [@Peter\_Kawa](#):
>
> Between Thursday and Thursday is a bit strange, but you’d read it like timestamps:

Maybe I misunderstand you again, but why you use the condition card “Day is between Thursday and Thursday” instead of “It’s Thursday”?

---

<div class="post-metadata">

### Author: ![Syswatch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/syswatch/32/65453_2.png) [@Syswatch](https://community.homey.app/u/Syswatch)
#### Post date: [November 25, 2022, 8:05am UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/9 "2022-11-25T08:05:51Z")

</div>

Hello Peter,  
Thanks, I just tried to change lang to English, and it worked now.  
I can now go on with my flow.

Thanks for your help.

---

<div class="post-metadata">

### Author: ![Syswatch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/syswatch/32/65453_2.png) [@Syswatch](https://community.homey.app/u/Syswatch)
#### Post date: [November 25, 2022, 8:07am UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/10 "2022-11-25T08:07:19Z")

</div>

Hello Fantross,  
I need a flow checking if week is odd, and if thursday at 14.00 it should turn on elektricity in 3 rooms.  
Then I will create a new flow check if week is odd, and on sundays at 8pm, it will turn socket off.

---

<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: [November 25, 2022, 8:25am UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/11 "2022-11-25T08:25:00Z")

</div>

Sorry, only in German:

**When…**  
— The time is 14:00  
**And…**  
— The weeknumber is odd  
— Today is Thursday  
**Then…**  
— Turn on

What I don’t understand is, why @Peter_Kawa uses „The day is between“ instead of „Today is“.

---

<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: [November 25, 2022, 6:53pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/12 "2022-11-25T18:53:42Z")

</div>

> [@DirkG](#):
>
> Maybe I misunderstand you again, but why you use the condition card “Day is between Thursday and Thursday” instead of “It’s Thursday”?

Oh my… I couldn’t find that card at the 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: [December 19, 2022, 7:26pm UTC](https://community.homey.app/t/create-flow-for-thursday-on-odd-weeks/72611/13 "2022-12-19T19:26:33Z")

</div>

Hi @Syswatch

> [@Peter\_Kawa](#):
>
> Confirmed it has something to do with the translation to Danish. There’s also another card with {{some-text}}
> 
> ![Screenshot from 2022-11-24 22-19-42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/090c085e915805db60484854080523c9740552c1.png)  
> I just reported this issue to Athom @ Slack, and it will be fixed with one of future firmware updates.

## It’s fixed as far as I could test, can you check?

Changelog Homey Pro v8.1.1:

- [Apps] Fix an issue with error logging ([GitHub issue](https://github.com/athombv/homey-apps-sdk-issues/issues/269)).
- [Apps] Improve stack traces when Device.updateCapabilityValue/setAvailable/setUnavailable rejects.
- [Apps] Make “Homey.platformVersion” property available.
- [Core] Update translations.
- [Core] Add button CSS styling classes “secondary” and “danger”.
