hi, i’m italian, so for first sorry for my English. i’ll try to explain my project:
i want create an event on my calendar in automatic, in sort of my work shift (am , pm , night), and if the weather was good (no rain, ok cloudly), and temperature above 20°C, for last 3 days and last event was created minimum 10days ago.
shift am and shift night ->3 days of good weather and temperature minimum 20°C->more 10 days from last event-> can create event from monday to saturday.
shift pm-> same condition->create event only saturday.
for now i created one variable for every day , where is populated with name of day.
one variable with weather condition for the day, from ifttt, the problem of that variable i don’t understand how send the value to tasker
Hi @diego.sala1984 ,
Good question - need to think about it!
Hi @diego.sala1984 ,
I’m trying to summarise as I understand it:
Conditions:
- Cut period (April to October)
- 3 days of sunny condition
- 3 days of temperature below 20°
- 10 days since last cutting
If all of them are true, it’s time to cut the grass
Then: If you are working in the afternoon, make an “appointment” for Saturday, if not, make an appointment on the next weekday.
Is that correct?
Yes , so It s perfect.
Let’s first simplify it a bit and not write the appointment directly (with all the shift and weekday logic), but just send a message to yourself that you should cut the grass:
Conditions:
“Cut Period”: Use an Apilio Timeframe condition with a cron expression “* * * 4-10 *”
“3 days of sunny condition”: Use IFTTT weather to send the condition to a string variable every day. Match it in the condition to be “sunny” and set a “Delay” in the advanced settings to 3 days
“3 days of temperature below 20°”: Same as above, just a Numeric Variable and a matching condition
“Daily check”: To run a Logicblock every day, set a Time Event condition
“10 days since last cutting”: Have a Boolean Variable updated with True every time you cut the grass (more on that later). Use a “Delay” setting of 09:23:59:00. (this makes sure it will only be counted as “true” after 10 days).
Logicblock:
Use all the conditions with “Simple AND” setting. So every day it will run and if all other conditions match, will trigger the positive actions.
For the actions:
- To keep it simple in the first setup, send yourself an e-mail
- Then use an Apilio action to set the Boolean Variable use in the “10 days since last cutting” condition to False
- Use another Apilio action to set the same variable to True again
Hi,
The cut period variabie Is done. I m blocked on that: “3 days of sunny condition”: Use IFTTT weather to send the condition to a string variable every day. Match it in the condition to be “sunny” and set a “Delay” in the advanced settings to 3 days
I send the condition to the string but i don t under stand how match wirh Sunny. I Will do that in apilio ?
Oh i m sleeping on foot lool , i have tò do like i did with variabile of week day name.
Yes, you do that in Apilio.