Location enter/exit/enter

Post your questions and help other users.

Moderator: Martin

Post Reply
stikka
Posts: 1
Joined: 08 Jul 2014 00:36

Location enter/exit/enter

Post by stikka » 08 Jul 2014 00:42

I have a simple flow set up to tell my home automation system when I'm coming home. I have a geofence around my house (200m). I have a single trigger for location enter/exit (Modern), a set of conditions for enter=true, exit=true and the appropriate actions to make a web call. Everything works fine, logic-wise.

As I drive home, the log shows that the Enter fires, then immediately (maybe 100-200ms later) the Exit, then the Enter again and so on. I can de-bounce this on the server side, but it would be best to adjust the sensitivity on the location to be "sure" that I am definitely in the location before firing the event. I'm sure I could do something with variables and timers and so on, but is there a simpler way to achieve this?

Thanks!

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Location enter/exit/enter

Post by Martin » 09 Jul 2014 09:45

Hi,

Are you turning on/off some device features within the location flow that could affect the detected location (for example turn WiFi on/off, turn radio/airplane mode on/off, change location system settings)?
Perhaps your device switches between cell masts quickly in this area so you would have to enlarge the radius in the location trigger. Is WiFI and Scanning always available enabled?
Did you try to use the Classic method to see if this works better?

Regards,
Martin

Post Reply