Hi. Beacuse the presence built in the app doesnt work on my girlfriend phone. Ive made a ifttt flow.
It starts with my girlfriends phone connects to the router, then the flow mark her as home and the other way around if shes disconected.
It works kind of well but sometimes she disconects even if shes home. That results in start of some other flows. For exempel turn all the lights of If nobody is home.
Is there a way to ad a timer or something to stop that?
Like if she disconects but is conected again in a five minute period?
Like a delay on the disconect part and If shes conected again the flow for marking her away is stopped?
when your gf disconnects start the timer (5min) and when the timer goes to zero you mark her as away. In the flow where she connects you add the card to stop the timer.
ive tried that but it doesnt work for me. the timer goes on anyway or when the flow tells the timer to stop beacuse shes online again, it just goes to zero right away and does the same thing as if the time runs out.
so if she goes offline the timer runs, when shes online again the timer goes to zero and mark her as away.
aaaaahhh you are using the build i timer. That will not work. you have the app which is called countdown. This ill give you the ability to start, stop and restart a timer.
you will need 3 flows.
If :
IFFT says you GF is home
then:
mark home and stop “countdown” timer
If :
IFFT says you GF is away
Then: Start thew countdown timer on 5min
If :
Counterdown timer reaches 0
Then: mark gf away
I Dont now What the problem was but the app i used didnt stop, it did run direct to zero wich made the flows go banarnas. Ive got a tip and ive changed the app to this. https://apps.athom.com/app/nl.bevlogenheid.countdown
maybe you would like to consider to use wifi for the “home” and location for “away”. This so you skip the disconnections during dooze and don’t need the countdown,. As a bonus, if she switches wifi off to do whatever or has a poor signal she won’t be put to away mode.
I use wifi+location to get the whatever servers first for the “home” status and location for away.