Trigger macro after staying in the same geofence for more than 10 minutes?

Makstuff

New member
Title, basically. I assume I would first use a geofence entry trigger, then wait for 10 minutes to check if a geofence exit trigger occurs, and if not, issue the macro.

1) Is this the best way to do this, or should the structure be different?

2) If the general idea is fine, what blocks can I use for the second part (waiting and checking for possible exit)?
 

Endercraft

Moderator (& bug finder :D)
You can use the geofence entry trigger, wait 10 minutes and continue only if geofence inside area condition is true (with if clause).
 

Makstuff

New member
Thanks! This would work in most cases, but I think it would ignore me leaving after 2min and coming back 5min later. If at all possible, it should only trigger whe I stay in the fence for the full 10min without ever leaving.
 

Makstuff

New member
Thanks a lot! Took me a bit to think this through, but if the two "if" loops are active in parallel, and it doesnt stay on the first until the 10min are over (which, given you posted this solution, I assume is how it works) it should be perfect.
 
Top