Je cherche à créer un flow qui initialise une variable au numéro du jour chaque jour (lundi=1, mardi=2…)
C’est simple à priori sauf que je ne trouve nulle part une carte du style “Quand → chaque jour à [heure]”
Quelqu’un peut m’aider svp ?
Merci
Traduction english
I’m trying to create a flow that sets a variable to the day number each day (Monday = 1, Tuesday = 2…). It should be simple, but I can’t find any card like “When → every day at [time]”. Can someone help me?
Thanks
WHEN
its 8:00
AND
today is a monday
THEN
set number-variable ‘daynumber’ to 1
ELSE
Calculate daynumber as {{daynumber+1}}
hello,
Thanks for your reply.
But although i can find the card “set {num-var}” i can’t find the card “calculate {var}”. I only have the card “calculate {num-var} as text”
My purpose is the following
Each day at 00:01 i want to set the variable {jour_num} to a number corresponding to the day
(monday=1, tuesday=2,… until sunday=7) then i want to use this number in an advanced flow
That is the card you should use: in this case the text is a formula {{num-var + 1 }}
On a monday the numvar is set to 1
On every next day 1 is added
Super. Although a little bit « heavy » flow 
So i’m intended to use a Homey script.
But prior i have a question : Is it possible, in a script, to make an Amazon Echo say something ?
Thanks,
Best regards,