This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Trigger second saturday of the month

Is it possible to make a flow that triggers every second saturday of the month?

Comments

  • Not easily I think. You could create a variable which counts the number of saturdays in a month and reset the counter for every month. You need a couple of flows for this. I think the easiest would be to create a calendar (i.e. in google) and use the ical-app for this...
  • Fire69Fire69 Member
    edited December 2016
    Hm, I thought this would be easy but there are some essentials time/date cards missing...
    You can put 2 cards in the 'And': Today is a saturday / Week number is 2
    But there's no usable card for the 'If'...  :|
  • fiekfiek Member
    edited December 2016
    :) I first tried both of your suggestions gentlemen, but I thought I was missing something hence my question The iCal app would be the easiest, but there is stil a bug in the app concerning recurrent appointments
  • fiek said:
    :) I first tried both of your suggestions gentlemen, but I thought I was missing something hence my question The iCal app would be the easiest, but there is stil a bug in the app concerning recurrent appointments
    Yeah, too bad about that bug.  I'm afraid it won't get fixed soon/ever.  :(
  • lexlex Member
    edited December 2016
    You don't have to count the number of saturdays in a month. 
    A check whether the current weekday is a saturday AND the current daynumber in this month is between 8 and 14 (including the 8 and 14), would do it.
  • Same problem, no?
    You have to check both those conditions in the 'and' column, so there's no trigger for your flow. 
  • Fire69 said:
    Same problem, no?
    You have to check both those conditions in the 'and' column, so there's no trigger for your flow. 

    You can trigger it every saturday... the then only gets executed when your two checks pass.
  • There is no card for the 'if' column to trigger every saturday?
  • You could trigger every day at xx:xx , checking the day, 
    And its Saturday,
    and checking 26 times: not 1st, not 2nd, not 3rd, .... not 31st day of the month, leaving the 7th ... 14th out. 

    https://github.com/athombv/homey/issues/1126

  • I use this app in combination with Google Calendar for that sort of triggers: https://apps.athom.com/app/nl.netactive.homey.ical2voice Works perfect!
  • You could trigger every day at xx:xx , checking the day, 
    And its Saturday,
    and checking 26 times: not 1st, not 2nd, not 3rd, .... not 31st day of the month, leaving the 7th ... 14th out. 

    https://github.com/athombv/homey/issues/1126

    Why check all those dates? Isn't this easier than?


  • Fire69 said:
    Why check all those dates? Isn't this easier than?
    The "Weeknummer" counts the number of weeks already passed in the current year (and not in the current month).
  • lex said:
    Fire69 said:
    Why check all those dates? Isn't this easier than?
    The "Weeknummer" counts the number of weeks already passed in the current year (and not in the current month).
    Doh, completely missed that! :hushed: 
  • JPeJPe Member
    edited January 2017
    @fiek  , you can do this with a flow like this:
    If  time = 00:01      And     Day = Saturday   And   day number is between 8 and 14   Then .............
      ( it's not exactly "between", but between and including the mentioned day's ).

Sign In or Register to comment.