Hej folks,
I'd like to get the location of my device (almost) no matter where I am. So I tried to write a flow that uses GPS as well as Network location stuff. But after the first timeout the flow stops. So do you know if there is any chance to get something like this:
Try GPS to get an exact location (< 10m).
If not successful: Try to get Network location (<60m).
If not successful: Write an error code into a file.
This would be pretty much helpful for me.
Thanks in advance,
nabla
Getting the right location successively
Moderator: Martin
Re: Getting the right location successively
Hi,
You can do this using an exception-connection.
Create a flow with two actions:
-trigger Periodic Timer: every 5m
-action Init Variable Location: GPS
-action Init Variable Location: Network (this action attached to the GPS-action)
Select the connection between the two actions, press the edit-icon and switch the connection type to Exception.
Automagic will execute the second action only when the first one fails.
Regards,
Martin
You can do this using an exception-connection.
Create a flow with two actions:
-trigger Periodic Timer: every 5m
-action Init Variable Location: GPS
-action Init Variable Location: Network (this action attached to the GPS-action)
Select the connection between the two actions, press the edit-icon and switch the connection type to Exception.
Automagic will execute the second action only when the first one fails.
Regards,
Martin
Re: Getting the right location successively
Works fine, thank you very much 
